Dragon rift no longer deletes all rifts when destroyed (#42234)

Maintaining the status quo
This commit is contained in:
TheFlyingSentry 2026-01-04 19:28:35 -05:00 • committed by GitHub
parent fe6a2f0708
commit fa7c2be164
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -268,9 +268,6 @@ public sealed partial class DragonSystem : EntitySystem
if (!Resolve(uid, ref comp))
return;
// do reset the rift count since crew destroyed the rift, not deleted by the dragon dying.
DeleteRifts(uid, true, comp);
// We can't predict the rift being destroyed anyway so no point adding weakened to shared.
comp.WeakenedAccumulator = comp.WeakenedDuration;
_movement.RefreshMovementSpeedModifiers(uid);