[fix time]time service now stopps properly
This commit is contained in:
@@ -146,15 +146,7 @@ namespace StgSharp.Common.Timing
|
||||
}
|
||||
|
||||
[MethodImpl(MethodImplOptions.AggressiveInlining)]
|
||||
public override bool EndsAt(long currentTick)
|
||||
{
|
||||
if (currentTick >= EndingTick)
|
||||
{
|
||||
Console.WriteLine("Ended");
|
||||
return true;
|
||||
}
|
||||
return false;
|
||||
}
|
||||
public override bool EndsAt(long currentTick) => currentTick >= EndingTick;
|
||||
|
||||
[MethodImpl(MethodImplOptions.AggressiveInlining)]
|
||||
public override bool IsNextFrameReady(long currentTick)
|
||||
|
||||
Reference in New Issue
Block a user