diff --git a/state_machine.gd b/state_machine.gd index 6d82de1..2ebe694 100644 --- a/state_machine.gd +++ b/state_machine.gd @@ -118,9 +118,6 @@ func _change_state(name): # e.g. ['^state1'] # => will populate everything but state1 func add_transition(source, dest, conditions, trigger_name=''): - if not source: - return - var states = [] if typeof(source) == TYPE_ARRAY: for state in source: