From cbb9f82c261fe5c914aa040136e0387a545656c3 Mon Sep 17 00:00:00 2001 From: James Date: Thu, 3 Feb 2022 18:24:35 +0000 Subject: [PATCH] Skip content used in setup --- rf2/setup_server.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/rf2/setup_server.py b/rf2/setup_server.py index 00c23cf..9a6395c 100644 --- a/rf2/setup_server.py +++ b/rf2/setup_server.py @@ -137,6 +137,9 @@ def read_workshop(content_file: str) -> tuple: print(f"Error: Invalid content ID '{content_id}', all IDs should be numeric!") return (False, []) + if content_id in SERVER_SETUP_CONTENT: + continue + out_content.append(content_id) print(f"Found {len(out_content)} content IDs")