fix puberty tracking in AB+

This commit is contained in:
Buurazu authored and GitHub committed 2022-06-29 21:49:29 -04:00
1 parent 2f7a2cdd47
commit 6b1cf847f0
1 file changed
+1
+1
View File
@@ -1614,6 +1614,7 @@ if REPENTANCE then
end
function EID:OnUsePill(pillEffectID, player)
player = player or EID.player --AB+ doesn't receive player in callback arguments!
local playerID = EID:getPlayerID(player)
-- Dead Tainted Lazarus exceptions
local pillsTable = EID.PlayerItemInteractions[playerID].pills