private void cmdMonuments(ConsoleSystem.Arg arg) { if (arg.connection != null) { return; // Allow this only from (real) console as the server will most likely hang } RconUtil.MapMonuments(arg); }
private void cmdMonuments(ConsoleSystem.Arg arg) { if (rustWeb == null) { arg.ReplyWith("Server isn't initialized yet"); return; } if (arg.connection != null) { return; // Allow this only from (real) console as the server will most likely hang } RconUtil.MapMonuments(arg); }