summaryrefslogtreecommitdiff
path: root/rules.js
diff options
context:
space:
mode:
authoriainp5 <iain.pearce.ip@gmail.com>2024-12-14 15:26:13 +0000
committeriainp5 <iain.pearce.ip@gmail.com>2024-12-14 15:26:13 +0000
commitf615efdd51ce089c5631c81339b4b3c1b8609ffd (patch)
tree3fafd2b886d41dbd49d83c52bf072be34e3cdd2d /rules.js
parent69658dea8662d4caa31f7b88ebf5fffefb421009 (diff)
download1989-dawn-of-freedom-f615efdd51ce089c5631c81339b4b3c1b8609ffd.tar.gz
Fix icons COM to DEM
Diffstat (limited to 'rules.js')
-rw-r--r--rules.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/rules.js b/rules.js
index a4f1e85..361b155 100644
--- a/rules.js
+++ b/rules.js
@@ -2815,7 +2815,7 @@ function get_icons(starting_control, end_control) {
console.log('in long bit')
if (starting_control === DEM && end_control === COM)
return ' (£DC .to £CC)'
- else if (starting_control === COM && end_control === COM)
+ else if (starting_control === COM && end_control === DEM)
return ' (£CC .to £DC)'
else if (starting_control === 'd_ahead' && end_control === DEM)
return ' (£DU .to £DC)'