From 2f7fbc40ab118d7f7b6f81c0ac9ccd22580e8fcf Mon Sep 17 00:00:00 2001 From: Arthur <121949966+ShinyWasabi@users.noreply.github.com> Date: Fri, 26 Dec 2025 15:24:21 +0300 Subject: [PATCH] fix(world): update IsDevModeEnabledPatch pattern (#823) --- src/game/features/world/EnableCreatorDevMode.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/game/features/world/EnableCreatorDevMode.cpp b/src/game/features/world/EnableCreatorDevMode.cpp index a26d273..bdffb52 100644 --- a/src/game/features/world/EnableCreatorDevMode.cpp +++ b/src/game/features/world/EnableCreatorDevMode.cpp @@ -9,6 +9,7 @@ namespace YimMenu "fm_lts_creator"_J, "fm_deathmatch_creator"_J, "fm_capture_creator"_J, + "public_mission_creator"_J, }); class EnableCreatorDevMode : public BoolCommand @@ -23,7 +24,7 @@ namespace YimMenu { for (int i = 0; i < creatorScripts.size(); i++) { - m_IsDevModeEnabledPatches.push_back(ScriptPatches::AddPatch(creatorScripts[i], ScriptPointer("IsDevModeEnabledPatch", "5D ? ? ? 56 ? ? 38 00 46 F0 0B").Add(1).Rip(), {0x2D, 0x00, 0x02, 0x00, 0x00, 0x72, 0x2E, 0x00, 0x01})); + m_IsDevModeEnabledPatches.push_back(ScriptPatches::AddPatch(creatorScripts[i], ScriptPointer("IsDevModeEnabledPatch", "5D ? ? ? 2A 56 ? ? 5D ? ? ? 06 1F 56 ? ? 38 00 46 ? ? 76").Add(1).Rip(), {0x2D, 0x00, 0x02, 0x00, 0x00, 0x72, 0x2E, 0x00, 0x01})); } }