Переглянути джерело

!2 http close game and reset script

pcacc 3 тижнів тому
батько
коміт
e8044f4031
1 змінених файлів з 1 додано та 1 видалено
  1. 1 1
      app_dongri.py

+ 1 - 1
app_dongri.py

@@ -212,7 +212,7 @@ def handle_close_game():
 def http_close_game():
     print("HTTP 触发 close_game")
     handle_close_game()
-    socketio.start_background_task(handle_end_script)
+    socketio.start_background_task(handle_reset_script)
     return jsonify({"status": "success", "message": "已关闭"})