aboutsummaryrefslogtreecommitdiff
path: root/scripts/load_shapes.gd
diff options
context:
space:
mode:
authorjacopograndi <jacopo.grandi@outlook.it>2022-01-16 17:14:36 +0100
committerjacopograndi <jacopo.grandi@outlook.it>2022-01-16 17:14:36 +0100
commit5781b7dad68c3e01d83365f73b0d35d9e5252f97 (patch)
treedada65ab375ed8287b33e6ffe023f5df5e666d24 /scripts/load_shapes.gd
parent8e5358aaefa1df729ffc02047e53b62705d6b3b1 (diff)
control system
Diffstat (limited to 'scripts/load_shapes.gd')
-rw-r--r--scripts/load_shapes.gd6
1 files changed, 4 insertions, 2 deletions
diff --git a/scripts/load_shapes.gd b/scripts/load_shapes.gd
index f3de4ae..308f111 100644
--- a/scripts/load_shapes.gd
+++ b/scripts/load_shapes.gd
@@ -1,11 +1,13 @@
extends Node
-var loaded = false
var saveload : Node
var models : Dictionary
+
+var loaded = false
+signal done_loading
func get_saveload():
- if saveload == null: saveload = get_tree().root.get_child(0).get_node("saveload")
+ if saveload == null: saveload = get_tree().root.get_node("world").get_node("saveload")
func _ready():
get_saveload()