减小退出按键触发彩蛋的概率,改正语法错误

This commit is contained in:
MrZ626
2021-04-22 10:17:43 +08:00
parent 31cb4b1ad9
commit e303a8a300

View File

@@ -1,11 +1,11 @@
local scene={}
function scene.sceneInit()
if math.random()>.000626 then
if math.random()>.0000626 then
love.timer.sleep(.26)
love.event.quit()
else
error("So lucky! 0.0626 precent to get this!!! You can quit the game now.")
error("So lucky! 0.00626% to get this!! You can quit the game now.")
end
end