From f382571cfadac782fe819ad4699a422b640d0f57 Mon Sep 17 00:00:00 2001 From: Jacoder23 Date: Sun, 30 Oct 2022 01:14:53 +0800 Subject: [PATCH] v1.1.2 - Fixed a softlock at the last argument --- index.html | 2 +- v1.1.1.twee => v1.1.2.twee | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) rename v1.1.1.twee => v1.1.2.twee (99%) diff --git a/index.html b/index.html index df9d130..b29c8b6 100644 --- a/index.html +++ b/index.html @@ -3525,7 +3525,7 @@ var newItem = "Love is, despite suffering, ultimately good."; inventory.indexOf(newItem) === -1 ? inventory.push(newItem) : console.log("This idea already exists"); if (inventory.indexOf("Love is, despite suffering, ultimately good.") > -1) { - inventory.splice(inventory.indexOf("Love is a wild, ultimately transient state."), 1); // 2nd parameter means remove one item only + inventory.splice(inventory.indexOf("Love is, despite suffering, ultimately good."), 1); } [continued] diff --git a/v1.1.1.twee b/v1.1.2.twee similarity index 99% rename from v1.1.1.twee rename to v1.1.2.twee index be62955..cb399eb 100644 --- a/v1.1.1.twee +++ b/v1.1.2.twee @@ -3506,7 +3506,7 @@ var newItem = "Love is, despite suffering, ultimately good."; inventory.indexOf(newItem) === -1 ? inventory.push(newItem) : console.log("This idea already exists"); if (inventory.indexOf("Love is, despite suffering, ultimately good.") > -1) { - inventory.splice(inventory.indexOf("Love is a wild, ultimately transient state."), 1); // 2nd parameter means remove one item only + inventory.splice(inventory.indexOf("Love is, despite suffering, ultimately good."), 1); } [continued]