Commit 5930fdaa authored by nanahira's avatar nanahira

fix

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