From: Christian Heller <c.heller@plomlompom.de>
Date: Sat, 5 Dec 2020 01:55:59 +0000 (+0100)
Subject: Remove unnecessary looping.
X-Git-Url: https://plomlompom.com/repos/%7B%7Bdb.prefix%7D%7D/static/%7B%7B%20web_path%20%7D%7D/balance?a=commitdiff_plain;h=40cc80146755188192b5f24834d997dd7c32c49c;p=plomrogue2

Remove unnecessary looping.
---

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: