From d1c83ffc090c54326bda32af14a7729bb4437655 Mon Sep 17 00:00:00 2001 From: CaitSith2 Date: Tue, 3 Aug 2021 09:48:07 -0700 Subject: [PATCH] Make /factorio {factorio_command} no longer silent, even if /sc is used. --- FactorioClient.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/FactorioClient.py b/FactorioClient.py index 0c61e50f..520ab19c 100644 --- a/FactorioClient.py +++ b/FactorioClient.py @@ -40,6 +40,8 @@ class FactorioCommandProcessor(ClientCommandProcessor): def _cmd_factorio(self, text: str) -> bool: """Send the following command to the bound Factorio Server.""" if self.ctx.rcon_client: + # TODO: Print the command non-silently only for race seeds, or otherwise block anything but /factorio /save in race seeds. + self.ctx.print_to_game(f"/factorio {text}") result = self.ctx.rcon_client.send_command(text) if result: self.output(result)