summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--rules.js4
1 files changed, 2 insertions, 2 deletions
diff --git a/rules.js b/rules.js
index 07ed5ae..b21db10 100644
--- a/rules.js
+++ b/rules.js
@@ -1653,13 +1653,13 @@ function can_stack_any(s, faction) {
}
function can_stack_base(s, faction) {
- return can_stack_any(s, faction) && count_bases(s) < 2
+ return (is_city(s) || is_dept(s)) && can_stack_any(s, faction) && count_bases(s) < 2
}
function can_stack_piece(s, faction, type) {
if (can_stack_any(s, faction)) {
if (type === BASE)
- return count_bases(s) < 2
+ return (is_city(s) || is_dept(s)) && count_bases(s) < 2
return true
}
return false