]> git.smokeofanarchy.ru Git - space-station-14.git/commitdiff
Fix chess dimension smite (#40583)
authorJessica M <jessica@jessicamaybe.com>
Mon, 29 Sep 2025 15:29:33 +0000 (08:29 -0700)
committerGitHub <noreply@github.com>
Mon, 29 Sep 2025 15:29:33 +0000 (15:29 +0000)
turns out it works fine if you just keep physicscomponent

Co-authored-by: Jessica M <jessica@maybe.sh>
Content.Server/Administration/Systems/AdminVerbSystem.Smites.cs

index 30008fcac56e57ba5d858d2ec870adde33120186..02c47691fd84f7cda791d25b6e141bfab9a316dc 100644 (file)
@@ -66,7 +66,7 @@ public sealed partial class AdminVerbSystem
 {
     private readonly ProtoId<PolymorphPrototype> LizardSmite = "AdminLizardSmite";
     private readonly ProtoId<PolymorphPrototype> VulpkaninSmite = "AdminVulpSmite";
-  
+
     [Dependency] private readonly SharedActionsSystem _actions = default!;
     [Dependency] private readonly IRobustRandom _random = default!;
     [Dependency] private readonly BloodstreamSystem _bloodstreamSystem = default!;
@@ -146,7 +146,6 @@ public sealed partial class AdminVerbSystem
             {
                 _sharedGodmodeSystem.EnableGodmode(args.Target); // So they don't suffocate.
                 EnsureComp<TabletopDraggableComponent>(args.Target);
-                RemComp<PhysicsComponent>(args.Target); // So they can be dragged around.
                 var xform = Transform(args.Target);
                 _popupSystem.PopupEntity(Loc.GetString("admin-smite-chess-self"), args.Target,
                     args.Target, PopupType.LargeCaution);