mirror of
https://github.com/Acamaeda/The-Modding-Tree.git
synced 2025-04-24 02:01:03 +00:00
Setting that shows last milestone gained
Also fixed the screen width detection
This commit is contained in:
parent
69dc926eb6
commit
e6c03dbf4d
8 changed files with 57 additions and 40 deletions
js
|
@ -297,6 +297,7 @@ function updateMilestones(layer) {
|
|||
if (!(hasMilestone(layer, id)) && layers[layer].milestones[id].done()) {
|
||||
player[layer].milestones.push(id)
|
||||
if (tmp[layer].milestonePopups || tmp[layer].milestonePopups === undefined) doPopup("milestone", tmp[layer].milestones[id].requirementDescription, "Milestone Gotten!", 3, tmp[layer].color);
|
||||
player[layer].lastMilestone = id
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue