From 2de663703bc1cba09adca1000f696c0bda37c0ae Mon Sep 17 00:00:00 2001 From: MrZ_26 <1046101471@qq.com> Date: Thu, 27 Oct 2022 00:01:14 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E5=A4=8D=E5=8D=95=E6=9C=BA=E6=A8=A1?= =?UTF-8?q?=E5=BC=8F=E6=B2=A1=E6=9C=89sid=E5=AF=BC=E8=87=B4=E9=83=A8?= =?UTF-8?q?=E5=88=86=E6=83=85=E5=86=B5=E8=AF=BB=E5=8F=96sid=E6=8A=A5?= =?UTF-8?q?=E9=94=99=EF=BC=88=E4=BC=9A=E7=94=A8=E6=9C=AC=E5=9C=B0uid?= =?UTF-8?q?=E7=9B=B4=E6=8E=A5=E4=BB=A3=E6=9B=BF=EF=BC=89?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- parts/player/init.lua | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/parts/player/init.lua b/parts/player/init.lua index d109f719..78adfe7a 100644 --- a/parts/player/init.lua +++ b/parts/player/init.lua @@ -408,7 +408,7 @@ function PLY.newRemotePlayer(id,mini,p) P:startStreaming() P.uid=p.uid - P.sid=NET.uid_sid[p.uid] + P.sid=NET.uid_sid[p.uid] or p.uid P.group=p.group P.netAtk=0 if not (P.group%1==0 and P.group>=1 and P.group<=6) then P.group=0 end @@ -425,7 +425,7 @@ function PLY.newAIPlayer(id,AIdata,mini,p) group=0, } if p then TABLE.coverR(p,pData) end P.username='BOT'..pData.uid - P.sid=NET.uid_sid[pData.uid] + P.sid=NET.uid_sid[pData.uid] or pData.uid P.group=pData.group if not (P.group%1==0 and P.group>=1 and P.group<=6) then P.group=0 end @@ -446,7 +446,7 @@ function PLY.newPlayer(id,mini,p) group=0, } if p then TABLE.coverR(p,pData) end P.uid=pData.uid - P.sid=NET.uid_sid[pData.uid] + P.sid=NET.uid_sid[pData.uid] or pData.uid P.group=pData.group if not (P.group%1==0 and P.group>=1 and P.group<=6) then P.group=0 end