mirror of
https://gitlab.com/crafty-controller/crafty-4.git
synced 2024-08-30 18:23:09 +00:00
Sorry, I forgot this one :/
This commit is contained in:
parent
0dcdc8ffc7
commit
84078935e8
@ -328,7 +328,7 @@ class HelperServerStats:
|
||||
def can_stop_no_players(server_id, time_limit):
|
||||
HelperServerStats.select_database(server_id)
|
||||
can = False
|
||||
ttl_no_players = HelperServerStats.get_TTL_without_player(server_id)
|
||||
ttl_no_players = HelperServerStats.get_ttl_without_player(server_id)
|
||||
if (time_limit == -1) or (ttl_no_players > time_limit):
|
||||
can = True
|
||||
return can
|
||||
|
Loading…
Reference in New Issue
Block a user