Ignore unused return value

This commit is contained in:
Leroy Hopson 2022-05-22 13:13:29 +07:00
parent fd4e383cae
commit f643d0ac51
No known key found for this signature in database
GPG key ID: D2747312A6DB51AA

View file

@ -43,6 +43,7 @@ onready var tput = TPut.new($Terminal)
func _ready(): func _ready():
if not $Terminal.is_connected("key_pressed", self, "_on_Terminal_key_pressed"): 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") $Terminal.connect("key_pressed", self, "_on_Terminal_key_pressed")
# warning-ignore:return_value_discarded # warning-ignore:return_value_discarded
$Terminal.connect("size_changed", self, "draw_all") $Terminal.connect("size_changed", self, "draw_all")