Improved skill casting

This commit is contained in:
2024-02-16 14:45:49 +01:00
parent a374acc4f0
commit fd47c5a433
3 changed files with 16 additions and 5 deletions

View File

@ -31,7 +31,7 @@ func handle_packet(data: PackedByteArray):
controller.direction_changed.emit(Vector3(direction_x, 0, direction_z))
func _physics_process(_delta):
if Global.player == null:
if !Global.player:
return
if Global.player.position == last_sent_position: