fix missing local value (#875)

This commit is contained in:
리셰 authored and GitHub committed 2025-06-11 15:56:59 +02:00
1 parent 5f6bb5a981
commit beb75022ec
1 file changed
+1 -1
+1 -1
View File
@@ -103,7 +103,7 @@ local function SacrificeRoomCallback(descObj)
local curCounter = descObj.ObjSubType or 1
if curCounter <= 2 then
--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)
descObj.Description = descObj.Description:sub(1,splitPoint-1)
end