home · contact · privacy
On thing removal, uncarry carried things.
[plomrogue2] / plomrogue / game.py
index a57a507cfc0a1f1d98d677068f60b3fc6772f3bd..31c9f2f61b83f3ceaf50cac640c81417c2e0dcc1 100755 (executable)
@@ -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)