Fixes some YAML linter errors.

The remaining errors are mostly the linter being overzealous.
This commit is contained in:
Vera Aguilera Puerto
2021-11-12 11:22:36 +01:00
parent 14c1c0ea8c
commit 872bc79cf8
9 changed files with 38 additions and 14 deletions

View File

@@ -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;
}