From 775f553a8cafe65a2b104b26478e89df085c1174 Mon Sep 17 00:00:00 2001 From: Christian Heller Date: Thu, 17 Dec 2020 02:09:55 +0100 Subject: [PATCH] Only recommend sitting down if actually standing. --- plomrogue/things.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plomrogue/things.py b/plomrogue/things.py index 1d9a4d0..da995d3 100644 --- a/plomrogue/things.py +++ b/plomrogue/things.py @@ -681,7 +681,7 @@ class Thing_Player(ThingAnimate): self.energy -= 1 else: self.energy += 1 - if self.energy < 0 and self.energy % 5 == 0: + if self.energy < 0 and self.standing and self.energy % 5 == 0: self.send_msg('CHAT "All that walking or standing uses up ' 'your energy, which makes you slower. Find a' ' place to sit or lie down to regain it."') -- 2.30.2