ofc not send 'force' attrib to game...
This commit is contained in:
parent
42f91a2279
commit
7da36e8a14
@ -250,7 +250,7 @@ class Nucon(Enum):
|
||||
print(f"Dummy mode: {'Force ' if force else ''}Setting {parameter.name} to {value}")
|
||||
return
|
||||
|
||||
response = requests.post(NuconConfig.base_url, params={"variable": parameter.name, "value": str(value), "force": str(force).lower()})
|
||||
response = requests.post(NuconConfig.base_url, params={"variable": parameter.name, "value": str(value)})
|
||||
|
||||
if response.status_code != 200:
|
||||
raise Exception(f"Failed to set parameter {parameter.name}. Status code: {response.status_code}")
|
||||
|
Loading…
Reference in New Issue
Block a user