From 3ec63ca1ac2f50fb52df1f86059634bf381f47ff Mon Sep 17 00:00:00 2001 From: Leroy Hopson Date: Sun, 22 May 2022 13:13:29 +0700 Subject: [PATCH] Ignore unused return value --- examples/menu/menu.gd | 1 + 1 file changed, 1 insertion(+) diff --git a/examples/menu/menu.gd b/examples/menu/menu.gd index 4c5f96c..6b66337 100644 --- a/examples/menu/menu.gd +++ b/examples/menu/menu.gd @@ -43,6 +43,7 @@ onready var tput = TPut.new($Terminal) func _ready(): if not $Terminal.is_connected("key_pressed", self, "_on_Terminal_key_pressed"): + # warning-ignore:return_value_discarded $Terminal.connect("key_pressed", self, "_on_Terminal_key_pressed") # warning-ignore:return_value_discarded $Terminal.connect("size_changed", self, "draw_all")