fix: Corrected wether to whether
This commit is contained in:
committed by
Julian Murgia
parent
3b47a93a9e
commit
584b81a496
@@ -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
|
||||
|
||||
|
||||
@@ -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(
|
||||
|
||||
Reference in New Issue
Block a user