C Programming Wait Function Godot