big bug preventing pets from aging past the pup phase

This commit is contained in:
zyl 2024-07-04 12:44:47 -07:00
parent f5f19b5b56
commit 2dfc19e07a
No known key found for this signature in database
2 changed files with 7 additions and 1 deletions

View file

@ -76,6 +76,12 @@ embed:
<details> <details>
<summary>changelog</summary> <summary>changelog</summary>
<details>
<summary>07/04/2024</summary>
<ul>
<li>oops pets couldn't age past puppies..</li>
</ul>
</details>
<details> <details>
<summary>06/25/2024</summary> <summary>06/25/2024</summary>
<ul> <ul>

View file

@ -513,7 +513,7 @@
pet.needsAdvancement = false; pet.needsAdvancement = false;
pet.updateDom(); pet.updateDom();
}; };
for (let btn of document.querySelectorAll("button.advancement")) { for (let btn of document.querySelectorAll("button.advance")) {
btn.addEventListener("click", advance); btn.addEventListener("click", advance);
} }