瀏覽代碼

[fixed] interacting with `Show Debug` toggle now also sets `debug_warning_closed` var

LinaHirata 5 月之前
父節點
當前提交
54eab93636
共有 1 個文件被更改,包括 2 次插入2 次删除
  1. 2 2
      locations/Cheatmenu_din.qsrc

+ 2 - 2
locations/Cheatmenu_din.qsrc

@@ -2156,9 +2156,9 @@ $cheatmenu['display'] = {
 	end
 	*nl
 	if loadg_show_debug = 0:
-		'Show Debug window on save load: Currently OFF - <a href="exec:loadg_show_debug = 1 & showobjs 1 & dynamic $cheatmenu[''display'']">Turn ON</a>'
+		'Show Debug window on save load: Currently OFF - <a href="exec:loadg_show_debug = 1 & debug_warning_closed = 1 & showobjs 1 & dynamic $cheatmenu[''display'']">Turn ON</a>'
 	else
-		'Show Debug window on save load: Currently ON - <a href="exec:loadg_show_debug = 0 & showobjs 0 & dynamic $cheatmenu[''display'']">Turn OFF</a>'
+		'Show Debug window on save load: Currently ON - <a href="exec:loadg_show_debug = 0 & debug_warning_closed = 1 & showobjs 0 & dynamic $cheatmenu[''display'']">Turn OFF</a>'
 	end
 	'</tr></table></b></center>'
 }