disable limb severing prediction (#2655)

Co-authored-by: deltanedas <@deltanedas:kde.org>
This commit is contained in:
deltanedas 2025-01-08 10:42:49 +00:00 committed by GitHub
parent 02bdc33b26
commit 1206ef62f3
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 1 additions and 1 deletions

View File

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