Fixed a bug that would prevent auto processes from sending through broadcast messages to the clients.

This commit is contained in:
Brett Hewitson 2022-03-22 20:01:50 +10:00
parent 8d84f67bd9
commit 9d4d49560e
12 changed files with 107 additions and 78 deletions

View file

@ -59,7 +59,7 @@ namespace ServerManagerTool
ProfileId = $"{ServerIP}-{RCONPort}".Replace(".", "-"),
RCONHost = ServerIP,
RCONPort = RCONPort,
AdminPassword = Password,
RCONPassword = Password,
InstallDirectory = String.Empty,
AltSaveDirectoryName = String.Empty,
PGM_Enabled = false,

View file

@ -659,7 +659,6 @@ namespace ServerManagerTool
PlayerListWidth = server.Profile.RCONPlayerListWidth,
Server = server,
AdminPassword = server.Runtime.ProfileSnapshot.AdminPassword,
InstallDirectory = server.Runtime.ProfileSnapshot.InstallDirectory,
AltSaveDirectoryName = server.Runtime.ProfileSnapshot.AltSaveDirectoryName,
ProfileId = server.Runtime.ProfileSnapshot.ProfileId,
@ -667,6 +666,7 @@ namespace ServerManagerTool
MaxPlayers = server.Runtime.MaxPlayers,
RCONHost = server.Runtime.ProfileSnapshot.ServerIPAddress.ToString(),
RCONPort = server.Runtime.ProfileSnapshot.RCONPort,
RCONPassword = server.Runtime.ProfileSnapshot.RCONPassword,
PGM_Enabled = server.Profile.PGM_Enabled,
PGM_Name = server.Profile.PGM_Name,