public static void LoadSaveData(GameStateSaveData data) { IsOnHuntingTrip = data.IsHunting; if (data.Location == "Battle") { data.Location = "QueplandFields"; } if (data.Location == null || data.Location == "") { data.Location = "QueplandFields"; } CurrentLand = AreaManager.Instance.GetLandByName(data.CurrentLand); GoTo("/World/" + data.Location); }
public static void LoadSaveData(GameStateSaveData data) { IsOnHuntingTrip = AreaManager.LoadedHuntingInfo; HideLockedItems = data.HideLockedItems; CompactInventoryView = data.CompactInventory; CurrentArtisanTask = data.CurrentTask; if (data.Location == null || data.Location == "" || data.Location == "Battle") { Location = "QueplandFields"; CurrentLand = AreaManager.Instance.GetLandByName("Quepland"); } else { Location = data.Location; CurrentLand = AreaManager.Instance.GetLandByName(data.CurrentLand); } }