From 24567eeeb6fe6f5d45f184d7b83e8e0a080b10d2 Mon Sep 17 00:00:00 2001 From: Baoulettes Date: Fri, 20 May 2022 19:49:32 +0200 Subject: [PATCH] better conditions --- soh/src/overlays/misc/ovl_kaleido_scope/z_kaleido_debug.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/soh/src/overlays/misc/ovl_kaleido_scope/z_kaleido_debug.c b/soh/src/overlays/misc/ovl_kaleido_scope/z_kaleido_debug.c index 77ea7ea4d..11228850a 100644 --- a/soh/src/overlays/misc/ovl_kaleido_scope/z_kaleido_debug.c +++ b/soh/src/overlays/misc/ovl_kaleido_scope/z_kaleido_debug.c @@ -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) {