Partially fix the active controller

This commit is contained in:
2022-08-14 11:24:48 +01:00
parent 47f59a7a6d
commit a7256d56ed
4 changed files with 17 additions and 3 deletions

View File

@ -3,6 +3,7 @@ extends Node2D
signal scene_finished
signal scene_failed
var active : bool = false
var character = null setget new_character
var movement_queue = []
@ -78,5 +79,8 @@ func character_movement():
func _physics_process(_delta):
if not active:
return
character_movement()
character_movement_input()