This commit is contained in:
ZaneYork 2021-12-28 09:39:40 +08:00
parent d5d184ca1c
commit 4f86e26118
1 changed files with 1 additions and 0 deletions

View File

@ -56,6 +56,7 @@ def start_runner():
time.sleep(10) time.sleep(10)
thread = threading.Thread(target=start_loop) thread = threading.Thread(target=start_loop)
thread.setDaemon(True)
thread.start() thread.start()
@app.route('/battle_tick', methods=['POST']) @app.route('/battle_tick', methods=['POST'])