Use a restart timer toggle in SessionData.

This commit is contained in:
zontreck 2024-05-25 04:51:00 -07:00
parent 685d7379cb
commit 3122343be7

View file

@ -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) {