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);
|
||||
|
||||
resetKillswitch();
|
||||
SessionData.enableRestartTimer = settings.inst!.timer.enabled;
|
||||
|
||||
// Schedule the server task
|
||||
task = Timer.periodic(Duration(seconds: 1), (timer) {
|
||||
|
|
Loading…
Reference in a new issue