From c65eff0de8572780fce89049386fb23770116d2c Mon Sep 17 00:00:00 2001 From: MrZ626 <1046101471@qq.com> Date: Thu, 8 Apr 2021 14:55:23 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E5=A4=8D=E4=B8=80=E4=B8=AA=E8=81=94?= =?UTF-8?q?=E7=BD=91=E5=B0=8F=E9=97=AE=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- parts/scenes/net_game.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/parts/scenes/net_game.lua b/parts/scenes/net_game.lua index 1300e1ff..ebf41cbf 100644 --- a/parts/scenes/net_game.lua +++ b/parts/scenes/net_game.lua @@ -203,7 +203,7 @@ function scene.socketRead(cmd,data) playing=false resetGameData("n") local winnerUID - for _,p in data.result do + for _,p in next,data.result do if p.place==1 then winnerUID=p.uid break