diff options
Diffstat (limited to 'play.js')
-rw-r--r-- | play.js | 4 |
1 files changed, 3 insertions, 1 deletions
@@ -1354,8 +1354,10 @@ function on_update() { for (let tribe = 0; tribe < 5; ++tribe) { for (let id = first_barbarian[tribe]; id <= last_barbarian[tribe]; ++id) { let loc = get_barbarian_location(id) - if (loc === army) + if (loc === army) { + ui.barbarians[id].classList.toggle("inactive", false) stack.push(ui.barbarians[id]) + } } } |