Fix debug assert when shooting guns (#21070)
This commit is contained in:
@@ -38,7 +38,7 @@ public sealed partial class ParticleAcceleratorSystem
|
||||
}
|
||||
|
||||
if (TryComp<ProjectileComponent>(emitted, out var proj))
|
||||
_projectileSystem.SetShooter(proj, uid);
|
||||
_projectileSystem.SetShooter(emitted, proj, uid);
|
||||
|
||||
if (TryComp<SinguloFoodComponent>(emitted, out var food))
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user