summaryrefslogtreecommitdiff
path: root/rules.js
diff options
context:
space:
mode:
authorTor Andersson <tor@ccxvii.net>2022-09-18 14:29:45 +0200
committerTor Andersson <tor@ccxvii.net>2022-11-17 13:11:27 +0100
commite5a5358988f154154236f61dd7d649efb4a09021 (patch)
tree1c2ca9410ec0742730e9b415e2143b81a3d013d4 /rules.js
parentb8d1038fa3b37b481f5b63bd24bdda2d45cb78b7 (diff)
downloadrommel-in-the-desert-e5a5358988f154154236f61dd7d649efb4a09021.tar.gz
Fix fortress supply tracing.
Diffstat (limited to 'rules.js')
-rw-r--r--rules.js1
1 files changed, 0 insertions, 1 deletions
diff --git a/rules.js b/rules.js
index 3a9dcb9..746b455 100644
--- a/rules.js
+++ b/rules.js
@@ -1288,7 +1288,6 @@ function trace_fortress_network(fortress, ss) {
supply_src[fortress] = 1
supply_net[fortress] = 1
- supply_visited[fortress] = 1
trace_total = 0
for (let u = 0; u < unit_count; ++u) {