summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--rules.js6
1 files changed, 4 insertions, 2 deletions
diff --git a/rules.js b/rules.js
index 9bb7fba..1c240c2 100644
--- a/rules.js
+++ b/rules.js
@@ -1560,10 +1560,12 @@ states.infrastructure = {
}
function end_build_action() {
- if (active_has_infrastructure())
+ if (active_has_infrastructure()) {
game.state = 'infrastructure';
- else
+ game.selected = select_available_block();
+ } else {
end_action();
+ }
}
// CARD-BASED ACTION: MOVE