Fixed pills having no description for AB+ users

This commit is contained in:
Wofsauge committed 2022-01-05 17:25:32 +01:00
1 parent a6426a6246
commit cbdc75c565
1 file changed
+1 -1
+1 -1
View File
@@ -371,7 +371,7 @@ function EID:getAdjustedSubtype(Type, Variant, SubType)
return SubType - 32768
end
elseif tableName == "pills" or tableName == "horsepills" then
if SubType % PillColor.PILL_GIANT_FLAG == PillColor.PILL_GOLD then
if REPENTANCE and SubType % PillColor.PILL_GIANT_FLAG == PillColor.PILL_GOLD then
return 9999
end
local pool = game:GetItemPool()