diff options
author | Tor Andersson <tor@ccxvii.net> | 2022-11-02 16:30:54 +0100 |
---|---|---|
committer | Tor Andersson <tor@ccxvii.net> | 2022-11-30 13:26:51 +0100 |
commit | a6ea23b14c512e57b6d28150b5766147cd354319 (patch) | |
tree | b2a3d1212b23e9418ffa9dd54f595194022c26f4 /rules.js | |
parent | 7d43c414ba32a664019152dd1d50b143d9d214f2 (diff) | |
download | crusader-rex-a6ea23b14c512e57b6d28150b5766147cd354319.tar.gz |
Mark blocks as moved after first step to mask tracking movement speeds.
Diffstat (limited to 'rules.js')
-rw-r--r-- | rules.js | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -1732,6 +1732,7 @@ states.move_phase_to = { view.prompt += " by road." }, town: function (to) { + set_add(game.moved, game.who) let from = game.location[game.who] if (to === SEA) { log_move_start(from) @@ -1827,6 +1828,7 @@ states.group_move_to = { } }, town: function (to) { + set_add(game.moved, game.who) let from = game.location[game.who] if (to === from) { end_move() @@ -1849,8 +1851,6 @@ states.group_move_to = { } function end_move() { - if (game.distance > 0) - set_add(game.moved, game.who) log_move_end() game.who = NOBODY game.distance = 0 @@ -2037,6 +2037,7 @@ states.muster_move_1 = { }, town: function (to) { let from = game.location[game.who] + set_add(game.moved, game.who) log_move_start(from) log_move_continue(to) move_block(game.who, from, to) @@ -2116,7 +2117,6 @@ states.muster_move_3 = { function end_muster_move() { log_move_end() - set_add(game.moved, game.who) game.who = NOBODY game.state = 'muster_who' } |