better conditions
This commit is contained in:
@@ -641,7 +641,7 @@ void KaleidoScope_DrawDebugEditor(GlobalContext* globalCtx) {
|
|||||||
// Handles exiting the inventory editor with the L button
|
// 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
|
// 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;
|
s16 Debug_BTN = BTN_L;
|
||||||
if (CVar_GetS32("gNGCKaleidoSwitcher", 0) != 1) {
|
if (CVar_GetS32("gNGCKaleidoSwitcher", 0) != 0) {
|
||||||
Debug_BTN = BTN_Z;
|
Debug_BTN = BTN_Z;
|
||||||
}
|
}
|
||||||
if (pauseCtx->debugState == 1) {
|
if (pauseCtx->debugState == 1) {
|
||||||
|
|||||||
Reference in New Issue
Block a user