Commit 369a2f41 authored by nanahira's avatar nanahira

Merge branch 'mc'

parents bcb26124 3e65c874
Pipeline #9097 failed with stages
in 58 minutes and 52 seconds
......@@ -1112,7 +1112,7 @@ CLIENT_is_able_to_reconnect = global.CLIENT_is_able_to_reconnect = (client, deck
if client.system_kicked
return false
disconnect_info = disconnect_list[CLIENT_get_authorize_key(client)]
unless disconnect_info
unless disconnect_info and disconnect_info.deckbuf
return false
room = ROOM_all[disconnect_info.room_id]
if !room
......
......@@ -1463,7 +1463,7 @@
return false;
}
disconnect_info = disconnect_list[CLIENT_get_authorize_key(client)];
if (!disconnect_info) {
if (!(disconnect_info && disconnect_info.deckbuf)) {
return false;
}
room = ROOM_all[disconnect_info.room_id];
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment