diff options
author | Tor Andersson <tor@ccxvii.net> | 2023-01-17 15:09:19 +0100 |
---|---|---|
committer | Tor Andersson <tor@ccxvii.net> | 2023-02-18 13:02:39 +0100 |
commit | 6fbb2af64491c77629e79d57ac17aeec14162bab (patch) | |
tree | 3730902d9fbc17a299c11add26820da030a75dfc | |
parent | 5abd7f5472afe0f5461f668709bf2b379c0b48b5 (diff) | |
download | nevsky-6fbb2af64491c77629e79d57ac17aeec14162bab.tar.gz |
Use 4x Coin asset in Veche.
-rw-r--r-- | play.js | 4 |
1 files changed, 4 insertions, 0 deletions
@@ -1161,6 +1161,10 @@ function update_veche() { ui.veche.replaceChildren() let n = view.pieces.veche_coin + while (n >= 4) { + add_asset(ui.veche, COIN, 4, VECHE) + n -= 4 + } while (n >= 3) { add_asset(ui.veche, COIN, 3, VECHE) n -= 3 |