Enable nullability in Content.Server (#3685)
This commit is contained in:
@@ -19,7 +19,7 @@ namespace Content.Server.GameObjects.Components.Projectiles
|
||||
|
||||
void IStartCollide.CollideWith(IPhysBody ourBody, IPhysBody otherBody, in Manifold manifold)
|
||||
{
|
||||
if (Owner.TryGetComponent(out ExplosiveComponent explosive))
|
||||
if (Owner.TryGetComponent(out ExplosiveComponent? explosive))
|
||||
{
|
||||
explosive.Explosion();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user