Fix missing footstep sounds getting through

This commit is contained in:
ShadowCommander
2021-04-01 18:22:26 -07:00
parent 4164a0aeb2
commit 0e32684905

View File

@@ -168,7 +168,7 @@ namespace Content.Server.Physics.Controllers
{
// Walking on a tile.
var def = (ContentTileDefinition) _tileDefinitionManager[tile.Tile.TypeId];
if (def.FootstepSounds == null)
if (string.IsNullOrEmpty(def.FootstepSounds))
{
// Nothing to play, oh well.
return;