1
0
Fork 0

Replay: fix rewind for nonzero start-time.

This commit is contained in:
Michael Danilov 2021-08-19 00:55:16 +02:00
parent c9709e2a62
commit 0c82a1f59a

View file

@ -662,8 +662,8 @@ var replaySkip = func(skip_time)
t+=skip_time;
if (t>getprop("/sim/replay/end-time"))
t = getprop("/sim/replay/end-time");
if (t<0)
t=0;
if (t<getprop("/sim/replay/start-time"))
t = getprop("/sim/replay/start-time");
setprop("/sim/replay/time", t);
}
}