summaryrefslogtreecommitdiff
path: root/Game
diff options
context:
space:
mode:
authorDaniel Weipert <git@mail.dweipert.de>2024-11-06 12:27:51 +0100
committerDaniel Weipert <git@mail.dweipert.de>2024-11-06 12:27:51 +0100
commit6f17d6c1d458275e8744d57a7f433cc3eb5434d7 (patch)
tree588434069b86aa079a0b36c78367dfb14003321e /Game
parentc8f674ac6fa0914d9e448d2929f2385cdad80d60 (diff)
next commit
Diffstat (limited to 'Game')
-rw-r--r--Game/States/Build/BuilderElement.gd2
1 files changed, 2 insertions, 0 deletions
diff --git a/Game/States/Build/BuilderElement.gd b/Game/States/Build/BuilderElement.gd
index cc9c051..b564379 100644
--- a/Game/States/Build/BuilderElement.gd
+++ b/Game/States/Build/BuilderElement.gd
@@ -79,9 +79,11 @@ func _process(_delta):
func can_build():
for area in collision_areas:
if area.get_overlapping_areas().size() > 0:
+ Client.current_stage.add_status_message("Can't build there")
return false
if area.get_overlapping_bodies().size() > 0:
+ Client.current_stage.add_status_message("Can't build there")
return false
#if Client.current_stage.has_method("can_build"):