fix m_start
This commit is contained in:
2
hlna.py
2
hlna.py
@ -241,7 +241,6 @@ def start(map_server=list_config):
|
||||
except:
|
||||
print("Неправильный ввод")
|
||||
|
||||
|
||||
for j in str(map_list):
|
||||
map_choise.append(map_server[int(j) - 1])
|
||||
map_server = map_choise
|
||||
@ -252,6 +251,7 @@ def start(map_server=list_config):
|
||||
print_line("Качаем карту: " + i)
|
||||
os.system(f"steamcmd +force_install_dir {dir_server + i} +login anonymous +app_update 376030 +quit")
|
||||
print_line("Карта скачана: " + i)
|
||||
|
||||
def start(i):
|
||||
os.chdir(dir_server + i + "/ShooterGame/Binaries/Linux/")
|
||||
os.system(f"./ShooterGameServer {i}?SessionName={name_server}?Port={port_server}?QueryPort={query_port}?MaxPlayers={max_players}?GameModIds={mods_id}?listen={listen_server} -clusterid={cluster_id} -ClusterDirOverride={cluster_dir_ovverride}")
|
||||
|
Reference in New Issue
Block a user