Fixed AutoTimeMachine

This commit is contained in:
LubieKakao1212 2022-12-19 19:35:14 +01:00
parent 927d835d2e
commit df046e3303

View File

@ -22,8 +22,8 @@ namespace NEG.Utils.Timing
/// <param name="time">Amount of time to forward by</param> /// <param name="time">Amount of time to forward by</param>
public void Forward(double time) public void Forward(double time)
{ {
machine.Forward(time); machine.Accumulate(time);
int rolls = machine.MultiWarp(Interval); int rolls = machine.RetrieveAll(Interval);
for (int i = 0; i < rolls; i++) for (int i = 0; i < rolls; i++)
{ {
Action(); Action();