Remove or fix broken Dirty() calls. (#18933)
This commit is contained in:
@@ -322,10 +322,12 @@ public sealed class MobThresholdSystem : EntitySystem
|
||||
}
|
||||
|
||||
if (mobState.CurrentState != MobState.Dead || thresholds.AllowRevives)
|
||||
{
|
||||
thresholds.CurrentThresholdState = newState;
|
||||
_mobStateSystem.UpdateMobState(target, mobState);
|
||||
Dirty(target, thresholds);
|
||||
}
|
||||
|
||||
Dirty(target);
|
||||
_mobStateSystem.UpdateMobState(target, mobState);
|
||||
}
|
||||
|
||||
private void UpdateAlerts(EntityUid target, MobState currentMobState, MobThresholdsComponent? threshold = null,
|
||||
|
||||
Reference in New Issue
Block a user