修复联网小问题:退出房间检测不到,攻击信息来源读取错误

This commit is contained in:
MrZ626
2021-04-07 16:53:10 +08:00
parent 32ec6d6be7
commit 0271b0501b
2 changed files with 5 additions and 4 deletions

View File

@@ -390,7 +390,7 @@ function update.remote_alive(P,dt)
elseif event<=64 then--Release key
P:releaseKey(event-32)
elseif event>0x2000000000000 then--Sending lines
local sid=tostring(event%0x100)
local sid=event%0x100
local amount=int(event/0x100)%0x100
local time=int(event/0x10000)%0x10000
local line=int(event/0x100000000)%0x10000