Skip to content

Commit

Permalink
feat: Removed obsolete code. Fixes godot-escoria/escoria-issues#99 (#499
Browse files Browse the repository at this point in the history
)
  • Loading branch information
dploeger authored Feb 17, 2022
1 parent 8aef8b1 commit b40c0a2
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 9 deletions.
3 changes: 1 addition & 2 deletions addons/escoria-core/game/scenes/dialogs/esc_dialog_player.gd
Original file line number Diff line number Diff line change
Expand Up @@ -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()

Expand Down
7 changes: 0 additions & 7 deletions addons/escoria-dialog-simple/esc_dialog_simple.gd
Original file line number Diff line number Diff line change
Expand Up @@ -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

0 comments on commit b40c0a2

Please sign in to comment.