mirror of
https://github.com/de2tla2f/pymaster.git
synced 2024-11-22 11:01:27 +00:00
Force lowercase gamedirs. Engine doesn't care about gamedir case, so should do master server
This commit is contained in:
parent
0ca6f55e13
commit
5aa6d9a644
|
@ -82,7 +82,7 @@ class PyMaster:
|
|||
try:
|
||||
key = split[i + 1]
|
||||
if( split[i] == 'gamedir' ):
|
||||
gamedir = key
|
||||
gamedir = key.lower() # keep gamedir in lowercase
|
||||
elif( split[i] == 'nat' ):
|
||||
nat = int(key)
|
||||
elif( split[i] == 'clver' ):
|
||||
|
|
|
@ -28,7 +28,7 @@ class ServerEntry:
|
|||
if( split[i] == 'challenge' ):
|
||||
self.challenge2 = int(key)
|
||||
elif( split[i] == 'gamedir' ):
|
||||
self.gamedir = key
|
||||
self.gamedir = key.lower() # keep gamedir lowercase
|
||||
elif( split[i] == 'protocol' ):
|
||||
self.protocol = int(key)
|
||||
elif( split[i] == 'players' ):
|
||||
|
|
Loading…
Reference in a new issue