Removed some warnings.
parent
ba088a1e4b
commit
f5c1d33327
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue