More hard-typed variables

This commit is contained in:
Adrien Ufferte
2025-11-17 15:07:01 +01:00
parent eee5ee65e6
commit 501a0818c1
28 changed files with 84 additions and 84 deletions
@@ -4,11 +4,11 @@ class_name ButtonValidator
func get_value(control: Control) -> Variant:
var button = control as Button
var button: Button = control as Button
if not button:
return null
return button.button_pressed
func is_type(node) -> bool:
func is_type(node: Node) -> bool:
return node is Button