Skip to content

Commit

Permalink
-костыль
Browse files Browse the repository at this point in the history
Signed-off-by: JDtrimble <[email protected]>
  • Loading branch information
pxc1984 committed Jul 29, 2024
1 parent 44e02e6 commit 3e19611
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion Content.Server/_Sunrise/Smile/SmileSlimeSystem.cs
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@
using Robust.Shared.Timing;
using Content.Shared._Sunrise.Smile;
using Content.Shared.Actions;
using Content.Shared.Body.Components;
using Content.Shared.DoAfter;
using Content.Shared.Movement.Systems;

Expand Down Expand Up @@ -111,7 +112,7 @@ public override void Update(float delay)
{
if (HasComp<SmileSlimeComponent>(entity))
continue;
if (!TryComp<HumanoidAppearanceComponent>(entity, out var humanoidAppearanceComponent))
if (!TryComp<BodyComponent>(entity, out _))
continue;
_popupSystem.PopupEntity(Loc.GetString(_random.Pick(smileSlimeComponent.Messages)), entity, entity);
}
Expand Down

0 comments on commit 3e19611

Please sign in to comment.