From 8b694b18991c36aafd7694b339d1c4bbe655723a Mon Sep 17 00:00:00 2001 From: Pieter-Jan Briers Date: Wed, 20 Mar 2019 15:02:19 +0100 Subject: [PATCH] Bullets no longer open doors. --- .../GameObjects/Components/Doors/ServerDoorComponent.cs | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/Content.Server/GameObjects/Components/Doors/ServerDoorComponent.cs b/Content.Server/GameObjects/Components/Doors/ServerDoorComponent.cs index e3f72fb3db..d8c52b018c 100644 --- a/Content.Server/GameObjects/Components/Doors/ServerDoorComponent.cs +++ b/Content.Server/GameObjects/Components/Doors/ServerDoorComponent.cs @@ -66,6 +66,12 @@ namespace Content.Server.GameObjects return; } + // Only open when bumped by mobs. + if (!msg.Entity.HasComponent(typeof(SpeciesComponent))) + { + return; + } + Open(); break; }