summaryrefslogtreecommitdiff
path: root/rules.js
diff options
context:
space:
mode:
Diffstat (limited to 'rules.js')
-rw-r--r--rules.js7
1 files changed, 1 insertions, 6 deletions
diff --git a/rules.js b/rules.js
index 7e01aeb..956ad15 100644
--- a/rules.js
+++ b/rules.js
@@ -3742,7 +3742,7 @@ states.austria_may_move_laudon_by_one_city_immediately = {
log_selected()
log(">from S" + game.pos[game.selected[0]])
- log(">to S", to)
+ log(">to S", s)
move_general_immediately(s)
game.state = "laudon_done"
@@ -4732,11 +4732,6 @@ function map_set(map, key, value) {
array_insert_pair(map, a<<1, key, value)
}
-function map_for_each_key(map, f) {
- for (let i = 0; i < map.length; i += 2)
- f(map[i])
-}
-
function map_for_each(map, f) {
for (let i = 0; i < map.length; i += 2)
f(map[i], map[i+1])