diff --git a/xtrn/lord2/lord2.js b/xtrn/lord2/lord2.js index 235363121f3bff25cafbfae4e2624f3f39de2953..bab1fe3cba52322bfde5b6da69ba89f3bcb22892 100644 --- a/xtrn/lord2/lord2.js +++ b/xtrn/lord2/lord2.js @@ -2285,7 +2285,10 @@ function move_player(xoff, yoff) { if (moved && !special && map.battleodds > 0 && map.reffile !== '' && map.refsection !== '') { if (random(map.battleodds) === 0) { run_ref(map.refsection, map.reffile); - // TODO: Is this where we clear battle?!?! + player.battle = 0; + update_update(); + if (pending_timeout !== undefined) + handle_timeout(pending_timeout); } } }