Skip to content

Commit 4a8635d

Browse files
author
TimMcCool
committed
fix bug wrong keyword
1 parent 24c30c8 commit 4a8635d

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

‎scratchattach/eventhandlers/cloud_server.py‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -297,7 +297,7 @@ def set_project_vars(self, project_id, data, *, user="@server"):
297297
for varname in data
298298
]
299299
)
300-
self._distribute_to_clients(project_id, json_string, user=user)
300+
self._distribute_to_clients(project_id, json_string)
301301

302302
def set_var(self, project_id, var_name, value, *, user="@server", skip_forward=None):
303303
var_name = var_name.replace("☁ ", "")
@@ -316,7 +316,7 @@ def set_var(self, project_id, var_name, value, *, user="@server", skip_forward=N
316316
}
317317
)
318318
if self.sync_players is True:
319-
self._distribute_to_clients(project_id, json_string, user=user, skip_forward=skip_forward)
319+
self._distribute_to_clients(project_id, json_string, skip_forward=skip_forward)
320320

321321
def _check_value(self, value):
322322
# Checks if a received cloud value satisfies the server's constraints

0 commit comments

Comments
 (0)