Explorar o código

[added] cheat menu var cleanup

Lusticon hai 5 meses
pai
achega
94e836d2e4
Modificáronse 1 ficheiros con 6 adicións e 0 borrados
  1. 6 0
      locations/nichUtil.qsrc

+ 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':