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
(parent:
0288715
)
On thing removal, uncarry carried things.
author
Christian Heller
<c.heller@plomlompom.de>
Wed, 9 Dec 2020 01:42:54 +0000
(
02:42
+0100)
committer
Christian Heller
<c.heller@plomlompom.de>
Wed, 9 Dec 2020 01:42:54 +0000
(
02:42
+0100)
plomrogue/game.py
patch
|
blob
|
history
diff --git
a/plomrogue/game.py
b/plomrogue/game.py
index a57a507cfc0a1f1d98d677068f60b3fc6772f3bd..31c9f2f61b83f3ceaf50cac640c81417c2e0dcc1 100755
(executable)
--- a/
plomrogue/game.py
+++ b/
plomrogue/game.py
@@
-213,6
+213,8
@@
class Game(GameBase):
return None
def remove_thing(self, t):
+ if t.carrying:
+ t.uncarry()
self.things.remove(t)
self.record_fov_change(t.position)