curCounter can be loaded from descObj.ObjSubType
This commit is contained in:
1 parent
85c8d431c7
commit
860954a8f9
1 file changed
+1
-2
+1
-2
@@ -207,8 +207,7 @@ end
|
||||
|
||||
-- Handle Sacrifice room payout
|
||||
local function SacrificeRoomCallback(descObj)
|
||||
local curRoomIndex = game:GetLevel():GetCurrentRoomIndex()
|
||||
local curCounter = EID.sacrificeCounter[curRoomIndex] or 1
|
||||
local curCounter = descObj.ObjSubType or 1
|
||||
descObj.Name = descObj.Name.." ("..curCounter.."/12)"
|
||||
if curCounter <= 2 then
|
||||
if game:GetLevel():GetAbsoluteStage() > 1 then
|
||||
|
||||
Reference in new issue
Block a user