public void LoadGame() { GameFields loadedGamesState = gameState.Load(); string[] names = loadedGamesState.items.Split(new string[] { "," }, StringSplitOptions.RemoveEmptyEntries); Item[] items = itemsData.GetItemsByNames(names); User.I.OnUserLoadedState(loadedGamesState.userData, items); }