fix puberty tracking in AB+
This commit is contained in:
1 parent
2f7a2cdd47
commit
6b1cf847f0
1 file changed
+1
@@ -1614,6 +1614,7 @@ if REPENTANCE then
|
|||||||
end
|
end
|
||||||
|
|
||||||
function EID:OnUsePill(pillEffectID, player)
|
function EID:OnUsePill(pillEffectID, player)
|
||||||
|
player = player or EID.player --AB+ doesn't receive player in callback arguments!
|
||||||
local playerID = EID:getPlayerID(player)
|
local playerID = EID:getPlayerID(player)
|
||||||
-- Dead Tainted Lazarus exceptions
|
-- Dead Tainted Lazarus exceptions
|
||||||
local pillsTable = EID.PlayerItemInteractions[playerID].pills
|
local pillsTable = EID.PlayerItemInteractions[playerID].pills
|
||||||
|
|||||||
Reference in new issue
Block a user