Skip to content

Commit

Permalink
fix demo. [skip CI]
Browse files Browse the repository at this point in the history
  • Loading branch information
pigpigyyy committed Jun 5, 2024
1 parent fc81a34 commit cd6ddba
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 3 deletions.
2 changes: 0 additions & 2 deletions Assets/Script/Game/Dismantlism/init.lua
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion Assets/Script/Game/Dismantlism/init.yue
Original file line number Diff line number Diff line change
Expand Up @@ -272,7 +272,7 @@ buildScene = ->
isSpace = not isSpace
switchScene!
when "quit"
App\shutdown!
-- App\shutdown!
when "get", "fish"
score += 100
when "credit"
Expand Down

0 comments on commit cd6ddba

Please sign in to comment.