diff --git a/support/PackageScript b/support/PackageScript index 45ca2beb..f870ade3 100644 --- a/support/PackageScript +++ b/support/PackageScript @@ -120,7 +120,7 @@ for amxx_file in AMXX.plugins: # Copy the generated version .inc. for generated_header in AMXX.generated_headers: - if os.path.splitext(generated_header.path)[1] == 'inc': + if 'amxmodx_version.inc' in generated_header.path: builder.AddCopy(generated_header, folder_map['base/addons/amxmodx/scripting/include']) break