diff options
author | Juan Linietsky <reduzio@gmail.com> | 2014-11-05 21:20:42 -0300 |
---|---|---|
committer | Juan Linietsky <reduzio@gmail.com> | 2014-11-05 21:20:42 -0300 |
commit | 0dbedd18fc62f700e92a4cf581e505d849bc47ad (patch) | |
tree | 8f2c85b4d9227e441fd35ab4873009faa656bcba /demos/misc/pause | |
parent | d14baf6e41bcdbe4968e0513beccc09dfb160ecd (diff) |
SceneMainLoop -> SceneTree
-=-=-=-=-=-=-=-=-=-=-=-=-=-
*YOUR SOURCE MIGHT NOT WORK*
For mor information on fix:
https://github.com/okamstudio/godot/wiki/devel_scene_tree
Other stuff:
-Shower of bullets demo
-Fixes all around
Diffstat (limited to 'demos/misc/pause')
-rw-r--r-- | demos/misc/pause/spinpause.gd | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/demos/misc/pause/spinpause.gd b/demos/misc/pause/spinpause.gd index c21c13b4e1..1b8f8388f0 100644 --- a/demos/misc/pause/spinpause.gd +++ b/demos/misc/pause/spinpause.gd @@ -5,11 +5,11 @@ extends Spatial func _on_pause_pressed(): get_node("pause_popup").set_exclusive(true) get_node("pause_popup").popup() - get_scene().set_pause(true) + get_tree().set_pause(true) func _on_unpause_pressed(): get_node("pause_popup").hide() - get_scene().set_pause(false) + get_tree().set_pause(false) |