fix compiling with latest sourcemod

This commit is contained in:
BotoX
2018-08-08 01:10:41 +02:00
parent ec05ea8524
commit 3385d96b54
4 changed files with 26 additions and 26 deletions
+1 -1
View File
@@ -31,7 +31,7 @@ if __name__ == "__main__":
OutDir = "plugins"
OutPath = os.path.join(OutDir, os.path.splitext(os.path.basename(SourcePath))[0] + ".smx")
Compiler = [SPCOMP, "-i" + SM_INCLUDES]
Compiler = [SPCOMP, "-i" + SM_INCLUDES, "-i" + "include"]
if os.path.isdir(IncludePath):
Compiler.append("-i" + IncludePath)
Compiler.append(SourcePath)