Fixes some YAML linter errors.
The remaining errors are mostly the linter being overzealous.
This commit is contained in:
@@ -224,7 +224,7 @@ namespace Content.Server.Physics.Controllers
|
||||
{
|
||||
// Walking on a tile.
|
||||
var def = (ContentTileDefinition) _tileDefinitionManager[tile.Tile.TypeId];
|
||||
soundToPlay = def.FootstepSounds.GetSound();
|
||||
soundToPlay = def.FootstepSounds?.GetSound();
|
||||
if (string.IsNullOrEmpty(soundToPlay))
|
||||
return;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user