loader: preserve binary path for amd64 (#1358)

This commit is contained in:
Headline 2020-10-02 16:01:30 -07:00 committed by GitHub
parent b14c18ee64
commit db56b14637
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -52,7 +52,8 @@ for folder in folder_list:
# Copy binaries.
for cxx_task in SM.binaries:
if cxx_task.target.arch == 'x86_64':
# mms expects our loader (sourcemod_mm) to exist in /bin/
if cxx_task.target.arch == 'x86_64' and not 'sourcemod_mm' in cxx_task.binary.path:
builder.AddCopy(cxx_task.binary, folder_map['addons/sourcemod/bin/x64'])
else:
builder.AddCopy(cxx_task.binary, folder_map['addons/sourcemod/bin'])