Fix package script copying wrong amxmodx_version file to include folder

This commit is contained in:
xPaw 2014-07-27 11:02:06 +03:00
parent c97312ba41
commit 1c32e7284b

View File

@ -120,7 +120,7 @@ for amxx_file in AMXX.plugins:
# Copy the generated version .inc.
for generated_header in AMXX.generated_headers:
if 'inc' in generated_header.path:
if os.path.splitext(generated_header.path)[1] == 'inc':
builder.AddCopy(generated_header, folder_map['base/addons/amxmodx/scripting/include'])
break