Use a restart timer toggle in SessionData.
This commit is contained in:
parent
685d7379cb
commit
3122343be7
1 changed files with 1 additions and 0 deletions
|
@ -181,6 +181,7 @@ class StateMachine {
|
||||||
changeState(States.PreStart);
|
changeState(States.PreStart);
|
||||||
|
|
||||||
resetKillswitch();
|
resetKillswitch();
|
||||||
|
SessionData.enableRestartTimer = settings.inst!.timer.enabled;
|
||||||
|
|
||||||
// Schedule the server task
|
// Schedule the server task
|
||||||
task = Timer.periodic(Duration(seconds: 1), (timer) {
|
task = Timer.periodic(Duration(seconds: 1), (timer) {
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue