所有场景文件独立
This commit is contained in:
8
parts/scenes/quit.lua
Normal file
8
parts/scenes/quit.lua
Normal file
@@ -0,0 +1,8 @@
|
||||
function sceneInit.quit()
|
||||
if math.random()>.000626 then
|
||||
love.timer.sleep(.3)
|
||||
love.event.quit()
|
||||
else
|
||||
error("So lucky! 0.0626 precent to get this!!! You can quit the game now.")
|
||||
end
|
||||
end
|
||||
Reference in New Issue
Block a user