Skip to content

Commit 422558e

Browse files
committed
Patch to enable main menu leave game item
1 parent 9b09709 commit 422558e

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

game/source/interface/gui_screens/main_menu/gui_screen_main_menu.cpp

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,4 +2,7 @@
22

33
#include "memory/module.hpp"
44

5+
// patch to disable call for `data->set_disabled_element(STRING_ID(global, name), STRING_ID(global, leave_game))`
6+
byte const set_list_elements_patch_bytes[] = { 0x74, 0x25 };
7+
DATA_PATCH_DECLARE(0x00AE8163, set_list_elements, set_list_elements_patch_bytes);
58

0 commit comments

Comments
 (0)