feat: Removed obsolete code. Fixes godot-escoria/escoria-issues#99 (#499)
This commit is contained in:
@@ -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()
|
||||
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user