Update for latest Godot and godot-nim
This commit is contained in:
parent
19f09a8ebc
commit
777983b91e
2 changed files with 2 additions and 2 deletions
|
|
@ -14,5 +14,5 @@ gdobj MainPanel of Panel:
|
||||||
if ev.buttonIndex == BUTTON_LEFT:
|
if ev.buttonIndex == BUTTON_LEFT:
|
||||||
getTree().setInputAsHandled()
|
getTree().setInputAsHandled()
|
||||||
let scene = load("res://scene.tscn") as PackedScene
|
let scene = load("res://scene.tscn") as PackedScene
|
||||||
getTree().getRoot().addChild(scene.instance())
|
getTree().root.addChild(scene.instance())
|
||||||
queueFree()
|
queueFree()
|
||||||
|
|
|
||||||
|
|
@ -3,4 +3,4 @@ author = "Xored Software, Inc."
|
||||||
description = "Godot-Nim Project Stub"
|
description = "Godot-Nim Project Stub"
|
||||||
license = "MIT"
|
license = "MIT"
|
||||||
|
|
||||||
requires "godot >= 0.7.1 & < 0.8.0"
|
requires "godot >= 0.7.3 & < 0.8.0"
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue