Fixed errors with newest visual studio.

This commit is contained in:
hondacrx
2021-03-05 19:15:57 -05:00
parent eca32de055
commit 1ab1f425ce
2 changed files with 4 additions and 1 deletions
+1 -1
View File
@@ -310,7 +310,7 @@ namespace Game.Entities
public class PlayerLevelInfo
{
public ushort[] stats = new ushort[(int)Stats.Max];
public int[] stats = new int[(int)Stats.Max];
}
public class PlayerCurrency
+3
View File
@@ -1086,6 +1086,9 @@ namespace Game
Log.outInfo(LogFilter.ServerLoading, "Using {0} DBC Locale", m_defaultDbcLocale);
// load update time related configs
_worldUpdateTime.LoadFromConfig();
Global.WorldMgr.SetPlayerAmountLimit((uint)ConfigMgr.GetDefaultValue("PlayerLimit", 100));
Global.WorldMgr.SetMotd(ConfigMgr.GetDefaultValue("Motd", "Welcome to a Cypher Core Server."));