diff options
author | Daniel Weipert <git@mail.dweipert.de> | 2024-11-06 12:27:51 +0100 |
---|---|---|
committer | Daniel Weipert <git@mail.dweipert.de> | 2024-11-06 12:27:51 +0100 |
commit | 6f17d6c1d458275e8744d57a7f433cc3eb5434d7 (patch) | |
tree | 588434069b86aa079a0b36c78367dfb14003321e /Game/States/Build | |
parent | c8f674ac6fa0914d9e448d2929f2385cdad80d60 (diff) |
next commit
Diffstat (limited to 'Game/States/Build')
-rw-r--r-- | Game/States/Build/BuilderElement.gd | 2 |
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"): |