From 40cc80146755188192b5f24834d997dd7c32c49c Mon Sep 17 00:00:00 2001 From: Christian Heller Date: Sat, 5 Dec 2020 02:55:59 +0100 Subject: [PATCH] Remove unnecessary looping. --- plomrogue/things.py | 1 + 1 file changed, 1 insertion(+) diff --git a/plomrogue/things.py b/plomrogue/things.py index 9edfa68..3b00d1f 100644 --- a/plomrogue/things.py +++ b/plomrogue/things.py @@ -313,6 +313,7 @@ class ThingAnimate(Thing): if self.game.sessions[c_id]['thing_id'] == self.id_: self.game.io.send('DEFAULT_COLORS', c_id) self.game.io.send('CHAT "You sober up."', c_id) + break self.game.changed = True self._fov = None if self.task is None: -- 2.30.2