diff --git a/site/pages/pet.md b/site/pages/pet.md
index 43dd94a..e3bcec2 100644
--- a/site/pages/pet.md
+++ b/site/pages/pet.md
@@ -67,9 +67,19 @@ embed:
tips!!
- pets need to be fed about once every eight hours!
- - the game (currently) doesn't simulate while the page is unloaded, so make sure to keep the page loaded for your pet to exist!
+ - your pet still exists while the page is unloaded or your computer is off! pause if you need to leave them be for a while!
- make sure to keep your pet clean!!
- if your pet is turning grey, make sure you're giving them the attention they need!! pet's deserve happiness too :(
- if you take good enough care of your pet they'll stop going potty on the floor!
+
+
+ changelog
+
+ 06/25/2024
+
+ - pets now are simulated even if the page is unloaded
+
+
+
diff --git a/site/root/js/pet.js b/site/root/js/pet.js
index 66e76b3..82badae 100644
--- a/site/root/js/pet.js
+++ b/site/root/js/pet.js
@@ -541,6 +541,13 @@
document.pet = pet;
}
+ const updates = Math.floor(
+ (Date.now() - pet.lastUpdate) / (60000 / UPDATES_PER_MINUTE)
+ );
+ for (let i = 0; i < updates; i++) {
+ pet.update();
+ }
+
pet.updateDom();
console.log(pet);