From f5c1d33327fd80470a855b46dff00d05ca75dbda Mon Sep 17 00:00:00 2001 From: Martin Felis Date: Sat, 16 Nov 2024 20:43:21 +0100 Subject: [PATCH] Removed some warnings. --- systems/InteractionSystem.gd | 8 +------- 1 file changed, 1 insertion(+), 7 deletions(-) diff --git a/systems/InteractionSystem.gd b/systems/InteractionSystem.gd index 14f9efd..8bc4ba6 100644 --- a/systems/InteractionSystem.gd +++ b/systems/InteractionSystem.gd @@ -1,8 +1,5 @@ extends Node -signal conversation_started -signal conversation_stopped - var is_conversation_active:bool = false var player:Player = null @@ -12,15 +9,12 @@ func _ready(): func start_conversation(resource: DialogueResource) -> void: is_conversation_active = true - print ("Conversation started") - emit_signal("conversation_started") + if player: player.is_input_blocked = true func stop_conversation(resource: DialogueResource) -> void: is_conversation_active = false - print ("Conversation stopped") - emit_signal("conversation_stopped") if player: player.is_input_blocked = false