Skip to content

Commit

Permalink
Update Content.Server/_CorvaxNext/AutoCryoSleep/AutoCryoSleepSystem.cs
Browse files Browse the repository at this point in the history
Co-authored-by: FN <[email protected]>
  • Loading branch information
Tornado-Technology and FireNameFN authored Dec 30, 2024
1 parent 636f72f commit 182d1fb
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ public override void Update(float frameTime)
var disconnectedQuery = EntityQueryEnumerator<AutoCryoSleepComponent>();
while (disconnectedQuery.MoveNext(out var uid, out var component))
{
if (_timing.CurTime < component.Disconnected + _disconnectedTime)
if (_timing.CurTime - component.Disconnected < _disconnectedTime)
continue;

if (!_mobState.IsAlive(uid))
Expand Down

0 comments on commit 182d1fb

Please sign in to comment.