feat: Removed obsolete code. Fixes godot-escoria/escoria-issues#99 (#499)

This commit is contained in:
Dennis Ploeger
2022-02-17 22:25:13 +01:00
committed by GitHub
parent 8aef8b13ec
commit b40c0a241c
2 changed files with 1 additions and 9 deletions

View File

@@ -43,8 +43,7 @@ func _ready():
#
# - event: The input event
func _input(event):
if event is InputEventMouseButton and event.pressed \
and is_speaking and not _dialog_manager.get_type_player().is_paused:
if event is InputEventMouseButton and event.pressed and is_speaking:
speedup()
get_tree().set_input_as_handled()

View File

@@ -95,10 +95,3 @@ func interrupt():
if _dialog_player.get_children().has(_type_player):
_dialog_player.remove_child(_type_player)
emit_signal("say_finished")
# Getter for the type player
#
# *Returns* the type player
func get_type_player() -> Node:
return _type_player