Changelings can no longer eat zombies (#45852)

changeling can no eat zed
This commit is contained in:
Cabin-keeper 2026-09-05 02:59:57 +00:00 • committed by GitHub
parent b9dff87070
commit a8efdf38e2
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -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);