From 6d505099afcf598b3693cfb955d086af26b0cfab Mon Sep 17 00:00:00 2001 From: Alibek Omarov Date: Mon, 30 Jul 2018 21:59:29 +0300 Subject: [PATCH] Set default gamedir as 'valve' --- pymaster.py | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/pymaster.py b/pymaster.py index e585275..eef4b67 100755 --- a/pymaster.py +++ b/pymaster.py @@ -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' ):