little fix to function types
Happy new year to the wonderful Godot community!
Co-authored-by: Zirak <zirakertan@gmail.com>