iOS退出失败会提示 close #273
This commit is contained in:
@@ -1,12 +1,24 @@
|
||||
local scene={}
|
||||
|
||||
function scene.sceneInit()
|
||||
if math.random()>.0000626 then
|
||||
love.timer.sleep(.26)
|
||||
love.event.quit()
|
||||
if false and SYSTEM~="iOS"then
|
||||
if math.random()>.0000626 then
|
||||
love.timer.sleep(.26)
|
||||
love.event.quit()
|
||||
else
|
||||
error("So lucky! 0.00626% to get this!! You can quit the game now.")
|
||||
end
|
||||
else
|
||||
error("So lucky! 0.00626% to get this!! You can quit the game now.")
|
||||
MES.update(1e99)
|
||||
SETTING.powerInfo=false
|
||||
SETTING.tapFX=false
|
||||
VERSION.string=""
|
||||
MES.new('error',"Please quit with HOME button on iOS",1e99)
|
||||
end
|
||||
end
|
||||
|
||||
function scene.draw()
|
||||
love.graphics.clear()
|
||||
end
|
||||
|
||||
return scene
|
||||
|
||||
Reference in New Issue
Block a user