diff options
| author | Jan Tuomi <jan@jantuomi.fi> | 2025-11-28 19:00:05 +0200 |
|---|---|---|
| committer | Jan Tuomi <jan@jantuomi.fi> | 2025-11-28 19:05:06 +0200 |
| commit | e07895be01b6bc7f813bbc392cc7852ffaf5e07b (patch) | |
| tree | 0d925585d978e99e70549aa5e0eae49cac9b7947 /top.gd | |
| parent | 6173a0c4e1b41628532a37f0638339b0724b445e (diff) | |
Add debug info display
Diffstat (limited to 'top.gd')
| -rw-r--r-- | top.gd | 3 |
1 files changed, 3 insertions, 0 deletions
@@ -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) |
