Fixed weird bug with daily restart code

This commit is contained in:
ceikry
2021-07-03 19:19:17 -05:00
parent 6aff756bbd
commit a56635c52e
@@ -25,7 +25,7 @@ import kotlin.collections.ArrayList
class MajorUpdateWorker { class MajorUpdateWorker {
var started = false var started = false
val sequence = UpdateSequence() val sequence = UpdateSequence()
val sdf = SimpleDateFormat("HH") val sdf = SimpleDateFormat("HHmm")
fun start() = GlobalScope.launch { fun start() = GlobalScope.launch {
started = true started = true
while(true){ while(true){