fix missing local value (#875)
This commit is contained in:
1 file changed
+1
-1
@@ -103,7 +103,7 @@ local function SacrificeRoomCallback(descObj)
|
|||||||
local curCounter = descObj.ObjSubType or 1
|
local curCounter = descObj.ObjSubType or 1
|
||||||
if curCounter <= 2 then
|
if curCounter <= 2 then
|
||||||
--Remove B1 Bomb drop info when not on B1
|
--Remove B1 Bomb drop info when not on B1
|
||||||
if game:GetLevel():GetAbsoluteStage() > 1 then
|
if Game():GetLevel():GetAbsoluteStage() > 1 then
|
||||||
local splitPoint = string.find(descObj.Description, '#', 1)
|
local splitPoint = string.find(descObj.Description, '#', 1)
|
||||||
descObj.Description = descObj.Description:sub(1,splitPoint-1)
|
descObj.Description = descObj.Description:sub(1,splitPoint-1)
|
||||||
end
|
end
|
||||||
|
|||||||
Reference in new issue
Block a user