This commit is contained in:
aozhiwei 2021-06-18 11:46:31 +08:00
parent 89a89e90cb
commit 65c6094079

View File

@ -649,6 +649,7 @@ bool Obstacle::DoInteraction(Human* sender)
{ {
if (!IsDead(sender->room) && IsOpenInteraction()) { if (!IsDead(sender->room) && IsOpenInteraction()) {
Die(sender->room); Die(sender->room);
sender->DropItems(this);
BroadcastFullState(sender->room); BroadcastFullState(sender->room);
} }
} }