Warning cleanup in InteractionSystem.gd.
parent
7bcf34e7ca
commit
abd913e4df
|
@ -7,13 +7,13 @@ func _ready():
|
||||||
if not DialogueManager.is_connected("dialogue_ended", InteractionSystem.stop_conversation):
|
if not DialogueManager.is_connected("dialogue_ended", InteractionSystem.stop_conversation):
|
||||||
DialogueManager.connect("dialogue_ended", InteractionSystem.stop_conversation)
|
DialogueManager.connect("dialogue_ended", InteractionSystem.stop_conversation)
|
||||||
|
|
||||||
func start_conversation(resource: DialogueResource) -> void:
|
func start_conversation(_resource: DialogueResource) -> void:
|
||||||
is_conversation_active = true
|
is_conversation_active = true
|
||||||
|
|
||||||
if player:
|
if player:
|
||||||
player.is_input_blocked = true
|
player.is_input_blocked = true
|
||||||
|
|
||||||
func stop_conversation(resource: DialogueResource) -> void:
|
func stop_conversation(_resource: DialogueResource) -> void:
|
||||||
is_conversation_active = false
|
is_conversation_active = false
|
||||||
|
|
||||||
if player:
|
if player:
|
||||||
|
|
Loading…
Reference in New Issue