summaryrefslogtreecommitdiff
path: root/rules.js
diff options
context:
space:
mode:
authorTor Andersson <tor@ccxvii.net>2024-05-29 23:47:50 +0200
committerTor Andersson <tor@ccxvii.net>2024-05-30 21:59:25 +0200
commit71de294622cdb63f215d85746931a9fc3b02931b (patch)
tree2658e0deccc88a86612933ed6a3af75c0a873ec0 /rules.js
parent29a478d40e84fcade3768428d1968daf59ed5885 (diff)
downloadfriedrich-71de294622cdb63f215d85746931a9fc3b02931b.tar.gz
OO rules do not apply austrian theater scenario
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 da67424..1b5239e 100644
--- a/rules.js
+++ b/rules.js
@@ -414,7 +414,7 @@ make_protect(P_HANOVER, data.country.Hanover)
make_protect(P_AUSTRIA, data.country.Austria)
function is_conquest_space(pow, s) {
- if (pow === P_PRUSSIA) {
+ if (pow === P_PRUSSIA && game.scenario >= 3) {
if (is_offensive_option() || game.turn < 3)
return set_has(primary_objective[pow], s)
return false