diff --git a/Assets/Script/Game/Dismantlism/init.lua b/Assets/Script/Game/Dismantlism/init.lua index 6228e3d9b..21e54b1f7 100644 --- a/Assets/Script/Game/Dismantlism/init.lua +++ b/Assets/Script/Game/Dismantlism/init.lua @@ -27,7 +27,6 @@ local Show = Dora.Show -- 1 local Hide = Dora.Hide -- 1 local Scale = Dora.Scale -- 1 local Color = Dora.Color -- 1 -local App = Dora.App -- 1 local tostring = _G.tostring -- 1 local scriptPath = Path:getScriptPath(...) -- 13 if not scriptPath then -- 14 @@ -389,7 +388,6 @@ buildScene = function() -- 228 isSpace = not isSpace -- 272 switchScene() -- 273 elseif "quit" == _exp_0 then -- 274 - App:shutdown() -- 275 elseif "get" == _exp_0 or "fish" == _exp_0 then -- 276 score = score + 100 -- 277 elseif "credit" == _exp_0 then -- 278 diff --git a/Assets/Script/Game/Dismantlism/init.yue b/Assets/Script/Game/Dismantlism/init.yue index d518b7fce..c9b2cd75d 100644 --- a/Assets/Script/Game/Dismantlism/init.yue +++ b/Assets/Script/Game/Dismantlism/init.yue @@ -272,7 +272,7 @@ buildScene = -> isSpace = not isSpace switchScene! when "quit" - App\shutdown! + -- App\shutdown! when "get", "fish" score += 100 when "credit"