整理代码

This commit is contained in:
MrZ626
2020-12-11 22:43:23 +08:00
parent 25b76e3b86
commit 6eed2fff0e
2 changed files with 6 additions and 11 deletions

View File

@@ -216,8 +216,7 @@ function scene.update(dt)
--Update players
for p=1,#PLAYERS do
local P=PLAYERS[p]
P:update(dt)
PLAYERS[p]:update(dt)
end
--Fresh royale target