mirror of
https://github.com/0O0o0oOoO00/Alas.git
synced 2026-05-20 21:09:28 +08:00
Upd: Modified some options for restart emulator
This commit is contained in:
@@ -151,7 +151,7 @@ class LoginHandler(Combat):
|
||||
|
||||
def app_restart(self):
|
||||
logger.hr('App restart')
|
||||
if self.config.RestartEmulator_LaunchMode != 'do_not_use'\
|
||||
if self.config.RestartEmulator_Enable\
|
||||
and self.config.Scheduler_NextRun.strftime('%H:%M:%S') \
|
||||
== get_server_next_update(self.config.Scheduler_ServerUpdate).strftime('%H:%M:%S'):
|
||||
self.device.emulator_restart()
|
||||
|
||||
Reference in New Issue
Block a user