From 782222269c59046e61c7f850481e95f49137145a Mon Sep 17 00:00:00 2001 From: Andreas Zweili Date: Wed, 8 Jul 2015 00:09:36 +0200 Subject: [PATCH] moving the decrease stats thread and the beginning_finished variable out of the main loop fix various spelling mistakes. --- pet_functions.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pet_functions.py b/pet_functions.py index 7705f91..5c41964 100644 --- a/pet_functions.py +++ b/pet_functions.py @@ -93,7 +93,7 @@ def decrease_health(): def decrease_stats(): - while True: + while pet_variables.beginning_finished: time.sleep(15) decrease_hunger() if pet_variables.pet_hunger <= 0: