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
This commit is contained in:
metalgearsloth
2025-04-05 04:49:21 +11:00
committed by GitHub
parent be809b9f65
commit d844ec250e

View 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);