Replay: fix rewind for nonzero start-time.
This commit is contained in:
parent
c9709e2a62
commit
0c82a1f59a
1 changed files with 2 additions and 2 deletions
|
@ -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);
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue