chore: removed some comments and prints
This commit is contained in:
parent
1c47ea05f1
commit
6700d03d19
|
@ -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()
|
||||
|
||||
|
|
|
@ -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
|
||||
|
|
Reference in a new issue