Eshe fixes (#388)
* fix: antags must be alive * fix: fix flare gun * fix: fix rd suit size * remove govnovoz
This commit is contained in:
@@ -38,6 +38,7 @@ using Robust.Shared.Physics.Components;
|
||||
using Robust.Shared.Physics.Systems;
|
||||
using Robust.Shared.Player;
|
||||
using Robust.Shared.Prototypes;
|
||||
using Robust.Shared.Serialization.Manager.Exceptions;
|
||||
using Robust.Shared.Timing;
|
||||
using InvisibilityComponent = Content.Shared._White.Administration.InvisibilityComponent;
|
||||
|
||||
@@ -455,8 +456,10 @@ namespace Content.Server.Ghost
|
||||
{
|
||||
var entity = mindContainer.Owner;
|
||||
|
||||
if (!(HasComp<HumanoidAppearanceComponent>(entity) || HasComp<GhostComponent>(entity)) ||
|
||||
HasComp<GlobalAntagonistComponent>(entity))
|
||||
if (!(HasComp<HumanoidAppearanceComponent>(entity) || HasComp<GhostComponent>(entity)))
|
||||
continue;
|
||||
|
||||
if (HasComp<GlobalAntagonistComponent>(entity))
|
||||
continue;
|
||||
|
||||
var playerDepartmentId = _prototypeManager.Index<DepartmentPrototype>("Specific").ID;
|
||||
@@ -503,9 +506,12 @@ namespace Content.Server.Ghost
|
||||
foreach (var antagonist in EntityQuery<GlobalAntagonistComponent>())
|
||||
{
|
||||
var entity = antagonist.Owner;
|
||||
|
||||
if (!_mobState.IsAlive(entity))
|
||||
continue;
|
||||
|
||||
var prototype =
|
||||
_prototypeManager.Index<AntagonistPrototype>(antagonist.AntagonistPrototype ??
|
||||
"globalAntagonistUnknown");
|
||||
_prototypeManager.Index<AntagonistPrototype>(antagonist.AntagonistPrototype ?? "globalAntagonistUnknown");
|
||||
|
||||
var warp = new GhostWarpGlobalAntagonist(
|
||||
GetNetEntity(entity),
|
||||
|
||||
Reference in New Issue
Block a user