nvm i'm stupid

This commit is contained in:
2026-05-30 16:01:54 +02:00
parent 84b84f45b6
commit caba8d42bd

View File

@@ -253,7 +253,3 @@ def is_port_in_use(port: int) -> bool:
with socket.socket(socket.AF_INET, socket.SOCK_STREAM) as s:
return s.connect_ex(("localhost", port)) == 0
def does_game_folder_exist(folder: str) -> bool:
return not (os.path.isdir(SERVER_PATH + "/" + folder))