Ignore falling body sound on component startup (#12455)
* Fix dead bodies fall sound * Remove prediction flag
This commit is contained in:
parent
448baf111d
commit
5f71fc1ea1
|
|
@ -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;
|
||||
|
||||
if (playSound)
|
||||
|
|
|
|||
Loading…
Reference in New Issue