Warning cleanup in InteractionSystem.gd.

main
Martin Felis 2024-11-16 22:01:55 +01:00
parent 7bcf34e7ca
commit abd913e4df
1 changed files with 2 additions and 2 deletions

View File

@ -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: