From 6fbb2af64491c77629e79d57ac17aeec14162bab Mon Sep 17 00:00:00 2001 From: Tor Andersson Date: Tue, 17 Jan 2023 15:09:19 +0100 Subject: Use 4x Coin asset in Veche. --- play.js | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/play.js b/play.js index 49240d8..e73bcbb 100644 --- a/play.js +++ b/play.js @@ -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 -- cgit v1.2.3