summaryrefslogtreecommitdiff
path: root/play.js
diff options
context:
space:
mode:
Diffstat (limited to 'play.js')
-rw-r--r--play.js4
1 files changed, 4 insertions, 0 deletions
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