Browse Source

Set default gamedir as 'valve'

pull/4/head
Alibek Omarov 6 years ago
parent
commit
6d505099af
  1. 5
      pymaster.py

5
pymaster.py

@ -76,8 +76,7 @@ class PyMaster: @@ -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: @@ -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' ):

Loading…
Cancel
Save