summaryrefslogtreecommitdiff
path: root/demos/misc/pause
diff options
context:
space:
mode:
authorJuan Linietsky <reduzio@gmail.com>2014-11-05 21:20:42 -0300
committerJuan Linietsky <reduzio@gmail.com>2014-11-05 21:20:42 -0300
commit0dbedd18fc62f700e92a4cf581e505d849bc47ad (patch)
tree8f2c85b4d9227e441fd35ab4873009faa656bcba /demos/misc/pause
parentd14baf6e41bcdbe4968e0513beccc09dfb160ecd (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.gd4
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)