Skip to content

Commit

Permalink
dragon gib without rifts
Browse files Browse the repository at this point in the history
  • Loading branch information
MiraHell committed Jun 2, 2024
1 parent 8a40e56 commit 5584f78
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion Content.Server/Dragon/DragonSystem.cs
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@
using Robust.Shared.Audio.Systems;
using Robust.Shared.Map;
using Robust.Shared.Map.Components;
using Content.Server.Body.Systems;

namespace Content.Server.Dragon;

Expand All @@ -29,6 +30,7 @@ public sealed partial class DragonSystem : EntitySystem
[Dependency] private readonly SharedActionsSystem _actions = default!;
[Dependency] private readonly SharedAudioSystem _audio = default!;
[Dependency] private readonly SharedTransformSystem _transform = default!;
[Dependency] private readonly BodySystem _body = default!;

private EntityQuery<CarpRiftsConditionComponent> _objQuery;

Expand Down Expand Up @@ -100,7 +102,8 @@ public override void Update(float frameTime)
if (comp.RiftAccumulator >= comp.RiftMaxAccumulator)
{
Roar(uid, comp);
QueueDel(uid);
// QueueDel(uid);
_body.GibBody(uid); //220 Dragon Bodies Fix
}
}
}
Expand Down

0 comments on commit 5584f78

Please sign in to comment.