disable limb severing prediction (#2655)
Co-authored-by: deltanedas <@deltanedas:kde.org>
This commit is contained in:
parent
02bdc33b26
commit
1206ef62f3
|
|
@ -214,7 +214,7 @@ public partial class SharedBodySystem
|
|||
|
||||
private void OnDamageChanged(Entity<BodyPartComponent> partEnt, ref DamageChangedEvent args)
|
||||
{
|
||||
if (!TryComp<DamageableComponent>(partEnt, out var damageable))
|
||||
if (!TryComp<DamageableComponent>(partEnt, out var damageable) || _timing.ApplyingState) // DeltaV: Don't try to predict limb severing
|
||||
return;
|
||||
|
||||
var severed = false;
|
||||
|
|
|
|||
Loading…
Reference in New Issue