fix: Corrected wether to whether

This commit is contained in:
Balloonpopper
2022-04-20 13:34:48 +10:00
committed by Julian Murgia
parent 3b47a93a9e
commit 584b81a496
17 changed files with 27 additions and 25 deletions

View File

@@ -15,7 +15,7 @@ signal option_chosen(option)
#
# #### Parameters
# - type: required type
# *Returns* Wether the type is supported or not
# *Returns* Whether the type is supported or not
func has_type(type: String) -> bool:
return false
@@ -25,7 +25,7 @@ func has_type(type: String) -> bool:
#
# #### Parameters
# - type: required chooser type
# *Returns* Wether the type is supported or not
# *Returns* Whether the type is supported or not
func has_chooser_type(type: String) -> bool:
return false

View File

@@ -18,7 +18,7 @@ signal option_chosen(option)
signal say_finished
# Wether the player is currently speaking
# Whether the player is currently speaking
var is_speaking: bool = false
@@ -105,6 +105,8 @@ func say(character: String, type: String, text: String) -> void:
var _manager: ESCDialogManager = load(_manager_class).new()
if _manager.has_type(type):
_dialog_manager = _manager
else:
_dialog_manager = null
if _dialog_manager == null:
escoria.logger.report_errors(