feat: made some minor adjustments for a secret

This commit is contained in:
Bram Dingelstad 2021-11-30 10:38:54 +01:00
parent 2e86a1465e
commit 34728f8bc0
2 changed files with 4 additions and 1 deletions

View file

@ -31,6 +31,7 @@ const VirtualMachine = preload('res://addons/Wol/core/VirtualMachine.gd')
const StandardLibrary = preload('res://addons/Wol/core/StandardLibrary.gd')
var virtual_machine
var running = false
func _ready():
if Engine.editor_hint:
@ -80,6 +81,7 @@ func _on_options(options):
return Constants.HandlerState.PauseExecution
func _on_dialogue_finished():
running = false
emit_signal('finished')
func _on_node_start(node):
@ -97,6 +99,7 @@ func pause():
virtual_machine.call_deferred('pause')
func start(node = starting_node):
running = true
emit_signal('started')
virtual_machine.set_node(node)

View file

@ -849,7 +849,7 @@ class ExpressionNode extends ParseNode:
#we should have a single root expression left
#if more then we failed ---- NANI
if eval_stack.size() != 1:
printerr('[%s] Error parsing expression (stack did not reduce correctly )' % first.name)
printerr('[%s] Error parsing expression (stack did not reduce correctly )' % first)
return eval_stack.pop_back()