From d844ec250e1752084f583a140c02b93769c56836 Mon Sep 17 00:00:00 2001 From: metalgearsloth <31366439+metalgearsloth@users.noreply.github.com> Date: Sat, 5 Apr 2025 04:49:21 +1100 Subject: [PATCH] Remove embed mispredict (#36297) * Remove embed mispredict I don't know why this is here but it doesn't seem to cause issues and transforms should be fully predicted so if there are bugs I will deal with them as they come up. * a --- Content.Shared/Projectiles/SharedProjectileSystem.cs | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/Content.Shared/Projectiles/SharedProjectileSystem.cs b/Content.Shared/Projectiles/SharedProjectileSystem.cs index 7161a39e0a..3fcff5ae56 100644 --- a/Content.Shared/Projectiles/SharedProjectileSystem.cs +++ b/Content.Shared/Projectiles/SharedProjectileSystem.cs @@ -66,8 +66,7 @@ public abstract partial class SharedProjectileSystem : EntitySystem private void OnEmbedRemove(Entity embeddable, ref RemoveEmbeddedProjectileEvent args) { - // Whacky prediction issues. - if (args.Cancelled || _net.IsClient) + if (args.Cancelled) return; EmbedDetach(embeddable, embeddable.Comp, args.User); -- 2.51.2