Ichor double-metabolize fix + Very minor cleanup (#37107)

Not a yaml vacation apparently
This commit is contained in:
Princess Cheeseballs
2025-05-06 11:16:13 -07:00
committed by GitHub
parent 1ee4c1fe72
commit 64f7fe10cc
3 changed files with 2 additions and 6 deletions

View File

@@ -29,8 +29,6 @@ public sealed class DevourSystem : SharedDevourSystem
if (component.FoodPreference == FoodPreference.All ||
(component.FoodPreference == FoodPreference.Humanoid && HasComp<HumanoidAppearanceComponent>(args.Args.Target)))
{
ichorInjection.ScaleSolution(0.5f);
if (component.ShouldStoreDevoured && args.Args.Target is not null)
{
ContainerSystem.Insert(args.Args.Target.Value, component.Stomach);
@@ -47,7 +45,7 @@ public sealed class DevourSystem : SharedDevourSystem
_audioSystem.PlayPvs(component.SoundDevour, uid);
}
private void OnGibContents(EntityUid uid, DevourerComponent component, ref BeingGibbedEvent args)
{
if (!component.ShouldStoreDevoured)