online multiplayer chess game (note server currently down)
Diffstat (limited to 'Debug.gd')
-rw-r--r--Debug.gd8
1 files changed, 0 insertions, 8 deletions
diff --git a/Debug.gd b/Debug.gd
index 537d316..043e4b9 100644
--- a/Debug.gd
+++ b/Debug.gd
@@ -11,13 +11,6 @@ const offset := Vector2(10, 10)
const vertical := 15
-static func is_debug() -> bool:
- var args := Utils.get_args()
- if "debug" in args:
- return Utils.str_bool(args.debug)
- return OS.is_debug_build()
-
-
func _ready() -> void:
z_index = 5 # put on top
add_child(timer)
@@ -25,7 +18,6 @@ func _ready() -> void:
timer.start(.1) # only redraw every .1 seconds
font = font.duplicate()
font.size = vertical * 0.8
- debug = is_debug()
visible = debug