diff --git a/.github/scripts/build_lunahook.py b/.github/scripts/build_lunahook.py index 5d485a86..cef6af17 100644 --- a/.github/scripts/build_lunahook.py +++ b/.github/scripts/build_lunahook.py @@ -109,5 +109,5 @@ elif sys.argv[1] == "build": elif bit == "winxp_core": build_langx_xp(True) else: - onlycore = int(sys.argv[4]) if len(sys.argv) >= 5 else False + onlycore = int(sys.argv[3]) if len(sys.argv) >= 4 else False build_langx(bit, onlycore) diff --git a/cpp/LunaHook/Lang/Lang_hook.cpp b/cpp/LunaHook/Lang/Lang_hook.cpp index 999142f1..e3dd0c4f 100644 --- a/cpp/LunaHook/Lang/Lang_hook.cpp +++ b/cpp/LunaHook/Lang/Lang_hook.cpp @@ -173,10 +173,10 @@ std::unordered_map