From ed6047834a816fcdbe6f415ef46d5a8bb18a5dea Mon Sep 17 00:00:00 2001 From: Stefano Pigozzi Date: Fri, 19 Apr 2024 01:55:25 +0200 Subject: [PATCH] Remove debug logging from `CursorDetector` --- behaviours/cursor_detector.gd | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/behaviours/cursor_detector.gd b/behaviours/cursor_detector.gd index c37a9ec..599201b 100644 --- a/behaviours/cursor_detector.gd +++ b/behaviours/cursor_detector.gd @@ -20,9 +20,5 @@ func _on_body_exited(body: Node2D) -> void: mouse_inside = true cursor_exited.emit(body) - -func _on_cursor_entered(cursor: Cursor) -> void: - Log.p(self, "Cursor entered: %s" % cursor) - -func _on_cursor_exited(cursor: Cursor) -> void: - Log.p(self, "Cursor exited: %s" % cursor) +func log_cursor(cursor: Cursor) -> void: + Log.p(self, "Cursor: %s" % cursor)