|
|
@@ -432,7 +432,7 @@ def add_auto_task(isMaxCollect, isJina, isSimple = False, isAddStrengh = False,
|
|
|
GlobalState.task_queue.appendleft(task_get_redPackage())
|
|
|
|
|
|
if isJina == 'bigMonster_max':
|
|
|
- GlobalState.task_queue.appendleft(task_fightMonster(isAddStrengh, True, isSimple))
|
|
|
+ GlobalState.task_queue.appendleft(task_fightMonster(isAddStrengh, True, True))
|
|
|
|
|
|
print("check restart")
|
|
|
GlobalState.g_times += 1
|
|
|
@@ -718,3 +718,4 @@ if __name__ == '__main__':
|
|
|
monitor_thread.start()
|
|
|
|
|
|
socketio.run(app, host= '0.0.0.0', debug=True, use_reloader=False)#关闭自动重载
|
|
|
+ handle_restart_game()
|