mirror of
https://github.com/Qsgs-Fans/FreeKill.git
synced 2024-11-15 19:22:25 +08:00
fix reconnect (#219)
This commit is contained in:
parent
cdc176a777
commit
9db9dd6c59
|
@ -305,7 +305,7 @@ function ServerPlayer:reconnect()
|
|||
room:notifyProperty(self, self, "role")
|
||||
|
||||
-- send player data
|
||||
for _, p in ipairs(room:getOtherPlayers(self, true, true)) do
|
||||
for _, p in ipairs(room:getOtherPlayers(self, false, true)) do
|
||||
self:doNotify("AddPlayer", json.encode{
|
||||
p.id,
|
||||
p._splayer:getScreenName(),
|
||||
|
|
Loading…
Reference in New Issue
Block a user