From 8d45997537db9c9f743a5d0afad9200af769ef00 Mon Sep 17 00:00:00 2001 From: Nate Smith Date: Wed, 6 Dec 2023 21:38:13 -0800 Subject: [PATCH] fix scoping on death_check change even more --- plant.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plant.py b/plant.py index d14629f..2d95ee8 100644 --- a/plant.py +++ b/plant.py @@ -350,6 +350,6 @@ class Plant: dm.data_write_json(self) dm.update_garden_db(self) dm.harvest_plant(self) - this_plant.unlock_new_creation() + self.unlock_new_creation() # TODO: event check time.sleep(2)