Bläddra i källkod

Add debug command to see html code

rachels 3 år sedan
förälder
incheckning
86d030b338
2 ändrade filer med 4 tillägg och 0 borttagningar
  1. 1 0
      locations/obj_din.qsrc
  2. 3 0
      locations/onobjsel.qsrc

+ 1 - 0
locations/obj_din.qsrc

@@ -2065,6 +2065,7 @@ if $ARGS[0] = 'old':
 	addobj '<center>Toggle Debug Variables</center>'
 	addobj '<center>Add Debug Variable</center>'
 	addobj '<center>Delete Debug Variable</center>'
+	addobj '<center>Switch HTML</center>'
 	if cheatTime = 1:
 		addobj '<center>-1 Hour</center>'
 		addobj '<center>+1 Hour</center>'

+ 3 - 0
locations/onobjsel.qsrc

@@ -30,6 +30,9 @@ if $selobj = '<center>Delete Debug Variable</center>':
 	killvar '$tmpVar'
 end
 
+if $selobj = '<center>Switch HTML</center>':
+	usehtml = iif(usehtml,0,1)
+end