summaryrefslogtreecommitdiff
path: root/rules.js
diff options
context:
space:
mode:
authoriainp5 <iain.pearce.ip@gmail.com>2025-01-08 13:33:30 +0000
committeriainp5 <iain.pearce.ip@gmail.com>2025-01-08 13:33:30 +0000
commit3bbe31935f53b860e9774e2bb0e76baca74167c5 (patch)
treeb98f4051d03a5908b54da162e4f8990dbef5f174 /rules.js
parenta3079e796937c058714130eaba21d2ed39450b89 (diff)
download1989-dawn-of-freedom-3bbe31935f53b860e9774e2bb0e76baca74167c5.tar.gz
Indent Genscher and AHBR logging
Diffstat (limited to 'rules.js')
-rw-r--r--rules.js6
1 files changed, 3 insertions, 3 deletions
diff --git a/rules.js b/rules.js
index 5d93786..23c8047 100644
--- a/rules.js
+++ b/rules.js
@@ -2270,7 +2270,7 @@ function add_infl(space, ops) {
) {
game[ops]--
if (!game.genscher_logged) {
- log(`C${C_GENSCHER}`)
+ logi(`C${C_GENSCHER}`)
game.genscher_logged = true
}
} else if (check_opp_control(space)) {
@@ -2278,7 +2278,7 @@ function add_infl(space, ops) {
// Check if Austria Hungary Border Reopened was used to place last SP in a controlled space in East Germany. If so, game.available_op will be negative
if (game[ops] < 0) {
if (!game.ahbr_logged) {
- log(`C${C_AUSTRIA_HUNGARY_BORDER_REOPENED}`)
+ logi(`C${C_AUSTRIA_HUNGARY_BORDER_REOPENED}`)
game.ahbr_logged = true
}
}
@@ -2306,7 +2306,7 @@ function add_infl(space, ops) {
) {
game[ops] ++
if (!game.ahbr_logged) {
- log(`C${C_AUSTRIA_HUNGARY_BORDER_REOPENED}`)
+ logi(`C${C_AUSTRIA_HUNGARY_BORDER_REOPENED}`)
game.ahbr_logged = true
}
game.austria_hungary_border_reopened_tracker = false