Skip to content

Commit

Permalink
Merge pull request #9 from MageJohn/master
Browse files Browse the repository at this point in the history
Fix Node not found error InkRuntime.init()
  • Loading branch information
ephread authored Oct 2, 2019
2 parents ca86352 + 322fc42 commit 832af35
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion addons/inkgd/runtime.gd
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
extends Node

static func init(root_node):
if root_node.get_node("__InkRuntime") != null:
if root_node.has_node("__InkRuntime"):
return

var InkRuntime = load("res://addons/inkgd/runtime/static/ink_runtime.gd")
Expand Down

0 comments on commit 832af35

Please sign in to comment.