mirror of
https://github.com/HarbourMasters/Shipwright.git
synced 2024-11-26 19:32:17 -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
|
// 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) {
|
||||||
|
Loading…
Reference in New Issue
Block a user