Terraria.ModLoader.ModNet.NetReload C# (CSharp) Method

NetReload() private static method

private static NetReload ( ) : void
return void
		private static void NetReload() {
			Main.ActivePlayerFileData = Player.GetFileData(Main.ActivePlayerFileData.Path, Main.ActivePlayerFileData.IsCloudSave);
			Main.ActivePlayerFileData.SetAsActive();
			//from Netplay.ClientLoopSetup
			Main.player[Main.myPlayer].hostile = false;
			Main.clientPlayer = (Player)Main.player[Main.myPlayer].clientClone();

			Main.menuMode = 10;
			OnModsDownloaded(false);
		}