chore: removed some comments and prints

This commit is contained in:
Bram Dingelstad 2021-12-08 15:12:29 +01:00
parent 1c47ea05f1
commit 6700d03d19
2 changed files with 0 additions and 5 deletions

View file

@ -51,7 +51,6 @@ func set_path(_path):
path = _path
if not Engine.editor_hint and virtual_machine and not path.empty():
print('recompiling')
var compiler = Compiler.new(path)
virtual_machine.program = compiler.compile()

View file

@ -79,11 +79,7 @@ func node_visit_count(node = virtual_machine.current_node.name):
if node is Value:
node = virtual_machine.program.strings[node.value()].text
var variable_storage = virtual_machine.dialogue.variable_storage
var visited_node_count = variable_storage[virtual_machine.program.filename]
print('checking node "%s"' % node)
print(variable_storage)
return visited_node_count[node] if visited_node_count.has(node) else 0