From 571e36aae0c760cc008ef04c5ab2f7308eefa8f6 Mon Sep 17 00:00:00 2001
From: Christian Heller <c.heller@plomlompom.de>
Date: Wed, 9 Dec 2020 02:42:54 +0100
Subject: [PATCH] On thing removal, uncarry carried things.

---
 plomrogue/game.py | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/plomrogue/game.py b/plomrogue/game.py
index a57a507..31c9f2f 100755
--- 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)
 
-- 
2.30.2