From 0b7f286cf3a842427b169cc16a68390ef978aab0 Mon Sep 17 00:00:00 2001 From: Vera Aguilera Puerto Date: Sat, 9 Jan 2021 22:29:59 +0100 Subject: [PATCH] setoutfit doesn't do mob checks anymore. Fixes bug where trying to setoutfit a dead/stunned mob would drop the new outfit on the ground, alongside the old outfit. --- Content.Server/Administration/Commands/SetOutfitCommand.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Content.Server/Administration/Commands/SetOutfitCommand.cs b/Content.Server/Administration/Commands/SetOutfitCommand.cs index 980745f604..f6e0b2b064 100644 --- a/Content.Server/Administration/Commands/SetOutfitCommand.cs +++ b/Content.Server/Administration/Commands/SetOutfitCommand.cs @@ -76,7 +76,7 @@ namespace Content.Server.Administration.Commands if (gearStr != "") { var equipmentEntity = entityManager.SpawnEntity(gearStr, target.Transform.Coordinates); - inventoryComponent.Equip(slot, equipmentEntity.GetComponent()); + inventoryComponent.Equip(slot, equipmentEntity.GetComponent(), false); } }