From 1e1560651a1f48d6ec716c943f6638e3e008284d Mon Sep 17 00:00:00 2001 From: MrZ626 <1046101471@qq.com> Date: Mon, 9 Aug 2021 22:34:16 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E5=A4=8Ddebug=E6=A8=A1=E5=BC=8F?= =?UTF-8?q?=E4=B8=8Bf4=E5=8F=AF=E8=83=BD=E5=BC=95=E8=B5=B7=E6=8A=A5?= =?UTF-8?q?=E9=94=99=20close=20#183?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Zframework/init.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Zframework/init.lua b/Zframework/init.lua index bffc26a1..774daa93 100644 --- a/Zframework/init.lua +++ b/Zframework/init.lua @@ -217,7 +217,7 @@ local function noDevkeyPressed(key) elseif key=="f4"then for _=1,8 do local P=PLY_ALIVE[rnd(#PLY_ALIVE)] - if P~=PLAYERS[1]then + if P and P~=PLAYERS[1]then P.lastRecv=PLAYERS[1] P:lose() end