Better Godmode (#37020)
* Commit * Oversights oops * breaking changes * unbreaking changes * Compatibility with AfterFullyEaten * Fixed * Update Content.Server/Kitchen/EntitySystems/ReagentGrinderSystem.cs --------- Co-authored-by: Nemanja <98561806+EmoGarbage404@users.noreply.github.com>
This commit is contained in:
committed by
GitHub
parent
4407eab96b
commit
62c380fc53
@@ -1,4 +1,6 @@
|
||||
using Content.Server.Body.Systems;
|
||||
using Content.Server.Destructible;
|
||||
using Content.Server.Examine;
|
||||
using Content.Server.Polymorph.Components;
|
||||
using Content.Server.Popups;
|
||||
using Content.Shared.Body.Components;
|
||||
@@ -24,6 +26,7 @@ public sealed class ImmovableRodSystem : EntitySystem
|
||||
[Dependency] private readonly SharedPhysicsSystem _physics = default!;
|
||||
[Dependency] private readonly SharedAudioSystem _audio = default!;
|
||||
[Dependency] private readonly DamageableSystem _damageable = default!;
|
||||
[Dependency] private readonly DestructibleSystem _destructible = default!;
|
||||
[Dependency] private readonly SharedTransformSystem _transform = default!;
|
||||
[Dependency] private readonly SharedMapSystem _map = default!;
|
||||
|
||||
@@ -127,7 +130,7 @@ public sealed class ImmovableRodSystem : EntitySystem
|
||||
return;
|
||||
}
|
||||
|
||||
QueueDel(ent);
|
||||
_destructible.DestroyEntity(ent);
|
||||
}
|
||||
|
||||
private void OnExamined(EntityUid uid, ImmovableRodComponent component, ExaminedEvent args)
|
||||
|
||||
Reference in New Issue
Block a user