减小退出按键触发彩蛋的概率,改正语法错误
This commit is contained in:
@@ -1,11 +1,11 @@
|
|||||||
local scene={}
|
local scene={}
|
||||||
|
|
||||||
function scene.sceneInit()
|
function scene.sceneInit()
|
||||||
if math.random()>.000626 then
|
if math.random()>.0000626 then
|
||||||
love.timer.sleep(.26)
|
love.timer.sleep(.26)
|
||||||
love.event.quit()
|
love.event.quit()
|
||||||
else
|
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
|
||||||
end
|
end
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user