From 4ad3f3d09817635e7902aa111eec5beba963476a Mon Sep 17 00:00:00 2001 From: Marto Date: Mon, 27 Apr 2026 15:32:30 +0200 Subject: [PATCH] Similar to previous change, but if cars are on the road(s) that get removed --- src/infrastructure_helpers.odin | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/src/infrastructure_helpers.odin b/src/infrastructure_helpers.odin index 9e9acd6..ae8a85f 100644 --- a/src/infrastructure_helpers.odin +++ b/src/infrastructure_helpers.odin @@ -77,7 +77,6 @@ delete_entity :: proc(self: ^Simulator, entity_index: u32, type: common.Entity) switch type { case .Node: // get cars that are on that node - for i in 0..