Also need this here.
This commit is contained in:
@@ -466,9 +466,10 @@ func start_talking():
|
|||||||
|
|
||||||
# Stop playing the talking animation
|
# Stop playing the talking animation
|
||||||
func stop_talking():
|
func stop_talking():
|
||||||
if get_animation_player() and \
|
if animations.speaks.size() > 0 \
|
||||||
_movable.last_dir >= 0 and \
|
and get_animation_player() \
|
||||||
_movable.last_dir <= animations.idles.size():
|
and _movable.last_dir >= 0 \
|
||||||
|
and _movable.last_dir < animations.speaks.size():
|
||||||
if get_animation_player().is_playing():
|
if get_animation_player().is_playing():
|
||||||
get_animation_player().stop()
|
get_animation_player().stop()
|
||||||
get_animation_player().play(
|
get_animation_player().play(
|
||||||
|
|||||||
Reference in New Issue
Block a user