mirror of
https://github.com/imayushsaini/Bombsquad-Ballistica-Modded-Server.git
synced 2025-10-20 00:00:39 +00:00
use game port number for TCP
This commit is contained in:
parent
4d046f4b0b
commit
b3d59c991c
1 changed files with 2 additions and 2 deletions
4
dist/ba_root/mods/plugins/bcs_plugin.py
vendored
4
dist/ba_root/mods/plugins/bcs_plugin.py
vendored
|
|
@ -8,7 +8,7 @@
|
|||
from flask import Flask, request, jsonify
|
||||
from functools import wraps
|
||||
import os
|
||||
|
||||
import _ba
|
||||
import _thread
|
||||
# import uvicorn
|
||||
from . import bombsquad_service
|
||||
|
|
@ -250,7 +250,7 @@ def update_server_config():
|
|||
|
||||
|
||||
def enable():
|
||||
flask_run = _thread.start_new_thread(app.run, ("0.0.0.0", 5000, False))
|
||||
flask_run = _thread.start_new_thread(app.run, ("0.0.0.0", _ba.get_game_port(), False))
|
||||
# uvicorn_thread = threading.Thread(target=start_uvicorn)
|
||||
# uvicorn_thread.start()
|
||||
# options = {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue