Add basic meteor swarm (#4420)
* Add basic meteor swarm * Map fixes * Dependency cache * Fix projectile crash * Last of the reviews
This commit is contained in:
@@ -39,7 +39,10 @@ namespace Content.Server.Projectiles
|
||||
}
|
||||
else
|
||||
{
|
||||
SoundSystem.Play(playerFilter, component.SoundHit.GetSound(), coordinates);
|
||||
var soundHit = component.SoundHit?.GetSound();
|
||||
|
||||
if (!string.IsNullOrEmpty(soundHit))
|
||||
SoundSystem.Play(playerFilter, soundHit, coordinates);
|
||||
}
|
||||
|
||||
if (!otherEntity.Deleted && otherEntity.TryGetComponent(out IDamageableComponent? damage))
|
||||
|
||||
Reference in New Issue
Block a user