mirror of
https://github.com/Acamaeda/The-Modding-Tree.git
synced 2025-04-24 02:01:03 +00:00
Upgrade trees!
This commit is contained in:
parent
e7b0af397d
commit
7e364cb9af
5 changed files with 39 additions and 5 deletions
js
|
@ -85,6 +85,7 @@ function buyUpg(layer, id) {
|
|||
player[layer].upgrades.push(id);
|
||||
if (upg.onPurchase != undefined)
|
||||
run(upg.onPurchase, upg)
|
||||
needCanvasUpdate = true
|
||||
}
|
||||
|
||||
function buyMaxBuyable(layer, id) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue