Remember new timing settings
This commit is contained in:
parent
fe4bbe77f9
commit
d9c0ece745
@ -87,6 +87,8 @@ void sc::timer::start() {
|
||||
|
||||
void sc::timer::start(double time, bool repeat) {
|
||||
if (!is_armed()) {
|
||||
_time = time;
|
||||
_repeat = repeat;
|
||||
setup_timer(time, repeat);
|
||||
}
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user