Removed some warnings.

main
Martin Felis 2024-11-16 20:43:21 +01:00
parent ba088a1e4b
commit f5c1d33327
1 changed files with 1 additions and 7 deletions

View File

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