From 2dfc19e07ac1e1a9b837bb8124ebf19193b60c67 Mon Sep 17 00:00:00 2001 From: zyl Date: Thu, 4 Jul 2024 12:44:47 -0700 Subject: [PATCH] big bug preventing pets from aging past the pup phase --- site/pages/pet.md | 6 ++++++ site/root/js/pet.js | 2 +- 2 files changed, 7 insertions(+), 1 deletion(-) diff --git a/site/pages/pet.md b/site/pages/pet.md index e726033..dc10549 100644 --- a/site/pages/pet.md +++ b/site/pages/pet.md @@ -76,6 +76,12 @@ embed:
changelog +
+ 07/04/2024 +
    +
  • oops pets couldn't age past puppies..
  • +
+
06/25/2024
    diff --git a/site/root/js/pet.js b/site/root/js/pet.js index eb0ad07..931f4ea 100644 --- a/site/root/js/pet.js +++ b/site/root/js/pet.js @@ -513,7 +513,7 @@ pet.needsAdvancement = false; pet.updateDom(); }; - for (let btn of document.querySelectorAll("button.advancement")) { + for (let btn of document.querySelectorAll("button.advance")) { btn.addEventListener("click", advance); }