Merge pull request #119 from reuben/metamod-path

Look for Metamod in ../metamod-hl1 as well since that's the name of the new git repo
This commit is contained in:
Vincent Herbet 2014-08-17 15:45:00 +02:00
commit 19f1c1a9ec

View File

@ -50,6 +50,7 @@ class AMXXConfig(object):
try_paths = [ try_paths = [
os.path.join(builder.sourcePath, '..', 'metamod'), os.path.join(builder.sourcePath, '..', 'metamod'),
os.path.join(builder.sourcePath, '..', 'metamod-am'), os.path.join(builder.sourcePath, '..', 'metamod-am'),
os.path.join(builder.sourcePath, '..', 'metamod-hl1'),
] ]
for try_path in try_paths: for try_path in try_paths:
if os.path.exists(os.path.join(try_path, 'metamod')): if os.path.exists(os.path.join(try_path, 'metamod')):