From 6f17d6c1d458275e8744d57a7f433cc3eb5434d7 Mon Sep 17 00:00:00 2001 From: Daniel Weipert Date: Wed, 6 Nov 2024 12:27:51 +0100 Subject: next commit --- Game/States/Build/BuilderElement.gd | 2 ++ 1 file changed, 2 insertions(+) (limited to 'Game/States/Build') 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"): -- cgit v1.2.3