diff --git a/systems/world.py b/systems/world.py index c242402..86eb5e5 100644 --- a/systems/world.py +++ b/systems/world.py @@ -150,6 +150,7 @@ def feed(cat): # TODO: Make this use inventory["Food"] instead! if cat.food <= 0: print(f"You don't have any food. {cat.name} is sad.") + return cat.food -= 1 print(f"You feed {cat.name}, {cat.name} is happy")