home
·
contact
·
privacy
projects
/
plomrogue2
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(from parent 1:
3195169
)
Remove unnecessary looping.
author
Christian Heller
<c.heller@plomlompom.de>
Sat, 5 Dec 2020 01:55:59 +0000
(
02:55
+0100)
committer
Christian Heller
<c.heller@plomlompom.de>
Sat, 5 Dec 2020 01:55:59 +0000
(
02:55
+0100)
plomrogue/things.py
patch
|
blob
|
history
diff --git
a/plomrogue/things.py
b/plomrogue/things.py
index 9edfa68ca85871557aeb396075c37ed68475011d..3b00d1fd79b86c183f04f21f9b3d4a965f5f575f 100644
(file)
--- 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: