summaryrefslogtreecommitdiff
path: root/play.js
diff options
context:
space:
mode:
authorTor Andersson <tor@ccxvii.net>2022-11-02 16:30:54 +0100
committerTor Andersson <tor@ccxvii.net>2022-11-30 13:26:51 +0100
commita6ea23b14c512e57b6d28150b5766147cd354319 (patch)
treeb2a3d1212b23e9418ffa9dd54f595194022c26f4 /play.js
parent7d43c414ba32a664019152dd1d50b143d9d214f2 (diff)
downloadcrusader-rex-a6ea23b14c512e57b6d28150b5766147cd354319.tar.gz
Mark blocks as moved after first step to mask tracking movement speeds.
Diffstat (limited to 'play.js')
-rw-r--r--play.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/play.js b/play.js
index ae68ea2..a707225 100644
--- a/play.js
+++ b/play.js
@@ -586,7 +586,7 @@ function update_map() {
let info = BLOCKS[b]
let element = ui.blocks[b]
let town = view.location[b]
- let moved = set_has(view.moved, b) ? " moved" : ""
+ let moved = (set_has(view.moved, b) && b !== view.who) ? " moved" : ""
if (town === DEAD) {
moved = " moved"
}