summaryrefslogtreecommitdiff
path: root/Levels
diff options
context:
space:
mode:
Diffstat (limited to 'Levels')
-rw-r--r--Levels/Level.gd2
1 files changed, 2 insertions, 0 deletions
diff --git a/Levels/Level.gd b/Levels/Level.gd
index 7544dd9..6777854 100644
--- a/Levels/Level.gd
+++ b/Levels/Level.gd
@@ -7,11 +7,13 @@ var timer = 0
var HUD = CanvasLayer.new()
var LabelTimer = preload("res://UI/HUD/Timer.tscn").instance()
var LevelMap = preload("res://UI/HUD/LevelMap.tscn").instance()
+var CancelButton = preload("res://UI/HUD/CancelButton.tscn").instance()
func _ready():
self.HUD.add_child(self.LabelTimer)
self.HUD.add_child(self.LevelMap)
+ self.HUD.add_child(self.CancelButton)
self.add_child(self.HUD)
var character = load("res://Characters/" + Network.player.character + ".tscn").instance()