mirror of
https://github.com/YGGverse/pymaster.git
synced 2025-02-01 09:34:14 +00:00
Fix weird bug with maxplayers being float
This commit is contained in:
parent
70c1b50c3f
commit
033bb35e0f
@ -34,7 +34,7 @@ class ServerEntry:
|
||||
elif( split[i] == 'players' ):
|
||||
self.players = int(key)
|
||||
elif( split[i] == 'max' ):
|
||||
self.maxplayers = int(key)
|
||||
self.maxplayers = int(key.split('.')[0])
|
||||
elif( split[i] == 'bots' ):
|
||||
self.bots = int(key)
|
||||
elif( split[i] == 'map' ):
|
||||
|
Loading…
x
Reference in New Issue
Block a user