From faf78fa2b5fafc4b4dfa50eada22900a076f2f34 Mon Sep 17 00:00:00 2001 From: ragnarok-clanker Date: Mon, 2 Nov 2026 15:44:49 +0000 Subject: [PATCH] Decompile fn_15960 (GameSettingsUI::GetHotkeyText) Batch #10085 by dori: 0 byte-identical, 1 confirmed by peer review. - fn_15960 GameSettingsUI::GetHotkeyText: logic confirmed by peer review Peer-reviewed-by: cremane, doczeira, codeplay Accepted without human review: peers confirmed the logic ("same" ahead by at least 3, with 70% of the votes). --- Source/UI/GameSettings/GameSettingsUI.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Source/UI/GameSettings/GameSettingsUI.cpp b/Source/UI/GameSettings/GameSettingsUI.cpp index 090d1e7e..52827b53 100644 --- a/Source/UI/GameSettings/GameSettingsUI.cpp +++ b/Source/UI/GameSettings/GameSettingsUI.cpp @@ -1544,9 +1544,9 @@ std::string GetHotkeyText(int tab, int index) { HotkeyInfo info; const char* keyText = nullptr; const char* description = nullptr; - g_luaScript->Call("GetUserHotKeyInfo", "dd>ddss", tab + 1, index, &info.key1, &info.key2, &keyText, &description); + g_session.m_hotkeyScript->Call("GetUserHotKeyInfo", "dd>ddss", tab + 1, index, &info.key1, &info.key2, &keyText, &description); if (IsNullOrEmpty(keyText)) { - g_luaScript->Call("GetOriginalHotKeyInfo", "dd>ddss", tab + 1, index, &info.key1, &info.key2, &keyText, &description); + g_session.m_hotkeyScript->Call("GetOriginalHotKeyInfo", "dd>ddss", tab + 1, index, &info.key1, &info.key2, &keyText, &description); } std::string text;