From 7c21276c32a4c718ea88f56dddc97dc3f183c869 Mon Sep 17 00:00:00 2001 From: Logg-y <49533518+Logg-y@users.noreply.github.com> Date: Wed, 13 Dec 2023 17:04:17 +0000 Subject: [PATCH] Hopeful fix for nonresponsive player window for some characters Currently the toggler does this on the cdkey db but this was reading from the per-character db - which meant that in the changes some characters could be stuck with hidden player menus --- src/nss/0i_win_layouts.nss | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/nss/0i_win_layouts.nss b/src/nss/0i_win_layouts.nss index 2b8f2c91..f7f02264 100644 --- a/src/nss/0i_win_layouts.nss +++ b/src/nss/0i_win_layouts.nss @@ -103,7 +103,8 @@ void SetupPlayerGUIPanel (object oPC, json jCol, float fWinWidth, float fWinHeig void PopUpPlayerHorGUIPanel (object oPC) { - if (SQLocalsPlayer_GetInt(oPC, "pc_menu_disabled") == 1) + string sKey = GetPCPublicCDKey(oPC, TRUE); + if (GetCampaignInt(sKey, "pc_menu_disabled") == 1) return; // ********** Create new Column *******