X-Git-Url: https://plomlompom.com/repos/?a=blobdiff_plain;f=plomrogue%2Fthings.py;h=da995d311dd84b7a777f9c0cc28aae2f091be0d5;hb=775f553a8cafe65a2b104b26478e89df085c1174;hp=1d9a4d021cc50425ae680584db3a570557fb1aa4;hpb=1a8eb9fa4e8dfaae9a0508882f49575ab68fc45c;p=plomrogue2 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."')