set RCON_BackupMessageCommand to RCON_MessageCommand is empty

This commit is contained in:
Brett Hewitson 2022-05-06 16:56:31 +10:00
parent 7b3ae3263c
commit 3d760b20d6
8 changed files with 16 additions and 6 deletions

View file

@ -379,6 +379,11 @@ namespace ServerManagerTool
// check and update the public IP address
DiscoverMachinePublicIP(Config.Default.ManagePublicIPAutomatically);
if (string.IsNullOrWhiteSpace(Config.Default.RCON_BackupMessageCommand))
{
Config.Default.RCON_BackupMessageCommand = Config.Default.RCON_MessageCommand;
}
var installPath = Path.GetDirectoryName(Assembly.GetEntryAssembly().Location);
PluginHelper.Instance.BetaEnabled = this.BetaVersion;
PluginHelper.Instance.LoadPlugins(installPath, true);