]> git.smokeofanarchy.ru Git - space-station-14.git/commitdiff
Remove embed mispredict (#36297)
authormetalgearsloth <31366439+metalgearsloth@users.noreply.github.com>
Fri, 4 Apr 2025 17:49:21 +0000 (04:49 +1100)
committerGitHub <noreply@github.com>
Fri, 4 Apr 2025 17:49:21 +0000 (19:49 +0200)
* 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

index 7161a39e0a280b8959a6809c68e02046126b0e41..3fcff5ae56e9205390cf40eb945d85dfb0a3193a 100644 (file)
@@ -66,8 +66,7 @@ public abstract partial class SharedProjectileSystem : EntitySystem
 
     private void OnEmbedRemove(Entity<EmbeddableProjectileComponent> embeddable, ref RemoveEmbeddedProjectileEvent args)
     {
-        // Whacky prediction issues.
-        if (args.Cancelled || _net.IsClient)
+        if (args.Cancelled)
             return;
 
         EmbedDetach(embeddable, embeddable.Comp, args.User);