summaryrefslogtreecommitdiffstats
path: root/top.gd
diff options
context:
space:
mode:
authorJan Tuomi <jan@jantuomi.fi>2025-11-28 19:00:05 +0200
committerJan Tuomi <jan@jantuomi.fi>2025-11-28 19:05:06 +0200
commite07895be01b6bc7f813bbc392cc7852ffaf5e07b (patch)
tree0d925585d978e99e70549aa5e0eae49cac9b7947 /top.gd
parent6173a0c4e1b41628532a37f0638339b0724b445e (diff)
Add debug info display
Diffstat (limited to 'top.gd')
-rw-r--r--top.gd3
1 files changed, 3 insertions, 0 deletions
diff --git a/top.gd b/top.gd
index 0930571..951ed1f 100644
--- a/top.gd
+++ b/top.gd
@@ -7,6 +7,9 @@ const ROOM_NEW_GAME: String = "res://room_test1.tscn"
var active_room_name: String
func _ready() -> void:
+ if not OS.is_debug_build():
+ $DebugInfo.queue_free()
+
print("data_dir: \"%s\"" % OS.get_user_data_dir())
$PauseMenu.deactivate()
get_tree().call_group("ui_movement", "set_visible", false)