mirror of
https://github.com/HarbourMasters/Shipwright.git
synced 2024-11-22 17:32:19 -05:00
better conditions
This commit is contained in:
parent
b38e0a6b15
commit
24567eeeb6
@ -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) {
|
||||
|
Loading…
Reference in New Issue
Block a user