Commit 7f7234fe authored by nanahira's avatar nanahira

Merge branch 'mc'

parents 90f418dc 5930fdaa
...@@ -541,7 +541,7 @@ CLIENT_is_player = (client, room) -> ...@@ -541,7 +541,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
......
...@@ -735,7 +735,7 @@ ...@@ -735,7 +735,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