Fixes Pill descriptions not being correct when having PHD
This commit is contained in:
1 parent
43b141df4e
commit
b67c7fced1
1 file changed
+1
-1
+1
-1
@@ -296,7 +296,7 @@ function EID:getDescriptionObj(Type, Variant, SubType)
|
||||
local tableName = EID:getTableName(Type, Variant, SubType)
|
||||
if tableName == "pills" or tableName == "horsepills" then
|
||||
local pool = Game():GetItemPool()
|
||||
description.ID = pool:GetPillEffect(SubType) + 1
|
||||
description.ID = pool:GetPillEffect(SubType, Isaac.GetPlayer(0)) + 1
|
||||
end
|
||||
description.fullItemString = Type.."."..Variant.."."..description.ID
|
||||
description.Name = EID:getObjectName(Type, Variant, description.ID)
|
||||
|
||||
Reference in new issue
Block a user