diff --git a/core/AMBuilder b/core/AMBuilder index e0327af..83edb80 100644 --- a/core/AMBuilder +++ b/core/AMBuilder @@ -25,7 +25,7 @@ for sdk_name in MMS.sdks: ] # Source2 hack. TODO: check this more deterministically, "are we doing an x64 build?" - if sdk.name != 'dota' or builder.target.platform == 'windows': + if builder.target.arch == 'x86': binary.sources += ['sourcehook/sourcehook_hookmangen.cpp'] nodes = builder.Add(binary) MMS.binaries += [nodes]