Look for Metamod in ../metamod-hl1 as well since that's the name of the new git repo.

This commit is contained in:
Reuben Morais 2014-08-16 18:16:03 -03:00
parent 63774d75f3
commit 5d9428f014

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')):