Update for latest Godot and godot-nim

This commit is contained in:
Ruslan Mustakov 2018-01-15 15:17:32 +07:00
commit 777983b91e
2 changed files with 2 additions and 2 deletions

View file

@ -14,5 +14,5 @@ gdobj MainPanel of Panel:
if ev.buttonIndex == BUTTON_LEFT:
getTree().setInputAsHandled()
let scene = load("res://scene.tscn") as PackedScene
getTree().getRoot().addChild(scene.instance())
getTree().root.addChild(scene.instance())
queueFree()

View file

@ -3,4 +3,4 @@ author = "Xored Software, Inc."
description = "Godot-Nim Project Stub"
license = "MIT"
requires "godot >= 0.7.1 & < 0.8.0"
requires "godot >= 0.7.3 & < 0.8.0"