aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--client/scripts/map/counter_base.gd2
-rw-r--r--client/scripts/map/floor.gd1
-rw-r--r--client/scripts/map/full_tile.gd2
3 files changed, 4 insertions, 1 deletions
diff --git a/client/scripts/map/counter_base.gd b/client/scripts/map/counter_base.gd
index c32cb070..19c7f045 100644
--- a/client/scripts/map/counter_base.gd
+++ b/client/scripts/map/counter_base.gd
@@ -1,5 +1,5 @@
-extends Counter
class_name CounterBase
+extends Counter
func setup(rename: String, neighbors: Array):
super.setup(rename, neighbors)
diff --git a/client/scripts/map/floor.gd b/client/scripts/map/floor.gd
index d4e61c2d..a8a396c4 100644
--- a/client/scripts/map/floor.gd
+++ b/client/scripts/map/floor.gd
@@ -12,6 +12,7 @@ enum Facing {
func setup(rename: String, _neighbors: Array):
add_child(load("res://models/prefabs/map/floor_kitchen_small.tscn").instantiate())
+ base.name = "Base"
add_child(base)
self.name = rename
diff --git a/client/scripts/map/full_tile.gd b/client/scripts/map/full_tile.gd
index c05e0457..a986b053 100644
--- a/client/scripts/map/full_tile.gd
+++ b/client/scripts/map/full_tile.gd
@@ -9,5 +9,7 @@ func setup(rename: String, neighbors: Array):
var box = BoxShape3D.new()
shape.position.y += .5
shape.shape = box
+ shape.name = "Box"
static_body.add_child(shape)
+ static_body.name = "Body"
base.add_child(static_body)