better conditions

This commit is contained in:
Baoulettes 2022-05-20 19:49:32 +02:00 committed by louist103
parent b38e0a6b15
commit 24567eeeb6
1 changed files with 1 additions and 1 deletions

View File

@ -641,7 +641,7 @@ void KaleidoScope_DrawDebugEditor(GlobalContext* globalCtx) {
// Handles exiting the inventory editor with the L button
// The editor is opened with `debugState` set to 1, and becomes closable after a frame once `debugState` is set to 2
s16 Debug_BTN = BTN_L;
if (CVar_GetS32("gNGCKaleidoSwitcher", 0) != 1) {
if (CVar_GetS32("gNGCKaleidoSwitcher", 0) != 0) {
Debug_BTN = BTN_Z;
}
if (pauseCtx->debugState == 1) {