1
0
Fork 0
mirror of https://github.com/de2tla2f/pymaster.git synced 2024-11-25 12:21:28 +00:00

Set default gamedir as 'valve'

This commit is contained in:
Alibek Omarov 2018-07-30 21:59:29 +03:00
parent 76fb808e84
commit 6d505099af

View file

@ -76,8 +76,7 @@ class PyMaster:
split = rawFilter.split('\\')
# Use NoneType as undefined
gamedir = None
gamemap = None # UNUSED: until Xash3D will not support full filter
gamedir = 'valve' # halflife, by default
clver = None
nat = 0
@ -86,8 +85,6 @@ class PyMaster:
key = split[i + 1]
if( split[i] == 'gamedir' ):
gamedir = key
elif( split[i] == 'map' ):
gamemap = key
elif( split[i] == 'nat' ):
nat = int(key)
elif( split[i] == 'clver' ):