idTech4.idSession.MoveToNewMap C# (CSharp) Method

MoveToNewMap() private method

Leaves the existing userinfo and serverinfo.
private MoveToNewMap ( string mapName ) : void
mapName string
return void
		private void MoveToNewMap(string mapName)
		{
			_mapSpawnData.ServerInformation.Set("si_map", mapName);

			ExecuteMapChange();

			if(_mapSpawnData.ServerInformation.GetBool("devmap") == false)
			{
				// Autosave at the beginning of the level
				// TODO: SaveGame( GetAutoSaveName( mapName ), true );
			}

			this.SetUserInterface(null, null);
		}