1
0
Эх сурвалжийг харах

[added] cheat menu var cleanup

Lusticon 5 сар өмнө
parent
commit
94e836d2e4

+ 6 - 0
locations/nichUtil.qsrc

@@ -24,6 +24,12 @@ if $ARGS[0] = '' or $ARGS[0] = 'start':
 	'This page should never appear. Please report this bug including a description of how you got here.'
 
 elseif $ARGS[0] = 'debug':
+	!reset cheat menu
+	if settingmode > 0:
+		killvar 'settingmode'
+		killvar 'menu_off'
+	end
+
 	if $ARGS[1] = 'debugToggle':
 		nichDebug = 1 - nichDebug
 	elseif $ARGS[1] = 'galaTrainingToggle':