Commit 5930fdaa authored by nanahira's avatar nanahira

fix

parent 1b17e6ca
......@@ -526,7 +526,7 @@ CLIENT_is_player = (client, room) ->
if client == player
is_player = true
break
return is_player
return is_player and client.pos <= 3
CLIENT_is_able_to_reconnect = (client) ->
unless settings.modules.reconnect.enabled
......
......@@ -716,7 +716,7 @@
break;
}
}
return is_player;
return is_player && client.pos <= 3;
};
CLIENT_is_able_to_reconnect = function(client) {
......
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