Ignore falling body sound on component startup (#12455)
* Fix dead bodies fall sound * Remove prediction flag
This commit is contained in:
@@ -101,7 +101,9 @@ namespace Content.Shared.Standing
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
if (!_gameTiming.IsFirstTimePredicted)
|
// check if component was just added or streamed to client
|
||||||
|
// if true, no need to play sound - mob was down before player could seen that
|
||||||
|
if (standingState.LifeStage <= ComponentLifeStage.Starting)
|
||||||
return true;
|
return true;
|
||||||
|
|
||||||
if (playSound)
|
if (playSound)
|
||||||
|
|||||||
Reference in New Issue
Block a user