回放时暂停不打断玩家操作
This commit is contained in:
@@ -263,6 +263,7 @@ function pauseGame()
|
|||||||
if not game.result then
|
if not game.result then
|
||||||
game.pauseCount=game.pauseCount+1
|
game.pauseCount=game.pauseCount+1
|
||||||
end
|
end
|
||||||
|
if not game.replaying then
|
||||||
for i=1,#players do
|
for i=1,#players do
|
||||||
local l=players[i].keyPressing
|
local l=players[i].keyPressing
|
||||||
for j=1,#l do
|
for j=1,#l do
|
||||||
@@ -271,6 +272,7 @@ function pauseGame()
|
|||||||
end
|
end
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
end
|
||||||
SCN.swapTo("pause","none")
|
SCN.swapTo("pause","none")
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|||||||
Reference in New Issue
Block a user