mirror of
https://github.com/space-syndicate/space-station-14.git
synced 2026-10-09 10:21:18 +03:00
Changelings can no longer eat zombies (#45852)
changeling can no eat zed
This commit is contained in:
parent
b9dff87070
commit
a8efdf38e2
1 changed files with 2 additions and 1 deletions
|
|
@ -17,6 +17,7 @@ using Content.Shared.Mobs.Systems;
|
|||
using Content.Shared.Popups;
|
||||
using Content.Shared.Store.Components;
|
||||
using Content.Shared.Whitelist;
|
||||
using Content.Shared.Zombies;
|
||||
using Robust.Shared.Audio.Systems;
|
||||
using Robust.Shared.Network;
|
||||
|
||||
|
|
@ -236,7 +237,7 @@ public sealed partial class ChangelingDevourSystem : EntitySystem
|
|||
return false;
|
||||
}
|
||||
|
||||
if (HasComp<RottingComponent>(victim))
|
||||
if (HasComp<RottingComponent>(victim) || HasComp<ZombieComponent>(victim))
|
||||
{
|
||||
if (showPopup)
|
||||
_popupSystem.PopupEntity(Loc.GetString("changeling-devour-attempt-failed-rotting"), changeling.Owner, changeling.Owner, PopupType.Medium);
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue