Added support for workshop install for other platforms (MacOS is likely still borked, but I don't have a Mac to test it)

This commit is contained in:
EvilFactory
2023-05-03 12:38:29 -03:00
parent 8df9f7798e
commit 8e6f8cc5e6
4 changed files with 9 additions and 5 deletions
@@ -1272,14 +1272,11 @@ namespace Barotrauma
GameMain.LuaCs.ToggleDebugger(port);
}));
#if WINDOWS
commands.Add(new Command("install_cl_lua|install_cl|install_cl_cs|install_cl_luacs", "Installs Client-Side LuaCs into your client.", (string[] args) =>
{
LuaCsInstaller.Install();
}));
#endif
commands.Add(new Command("randomizeseed", "randomizeseed: Toggles level seed randomization on/off.", (string[] args) =>
{
GameMain.Server.ServerSettings.RandomizeSeed = !GameMain.Server.ServerSettings.RandomizeSeed;