diff --git a/TechbloxModdingAPI/App/Game.cs b/TechbloxModdingAPI/App/Game.cs
index 18e62bd..5a9cccc 100644
--- a/TechbloxModdingAPI/App/Game.cs
+++ b/TechbloxModdingAPI/App/Game.cs
@@ -233,8 +233,7 @@ namespace TechbloxModdingAPI.App
{
// this likely breaks things
GameMode.SaveGameDetails = new SaveGameDetails(GameMode.SaveGameDetails.Id,
- GameMode.SaveGameDetails.SaveMode, GameMode.SaveGameDetails.Name, value,
- GameMode.SaveGameDetails.WorkshopId);
+ GameMode.SaveGameDetails.SaveMode, GameMode.SaveGameDetails.Name, value);
}
}
}
@@ -244,30 +243,16 @@ namespace TechbloxModdingAPI.App
/// In most cases this is invalid and returns 0, so this can be ignored.
///
/// The workshop identifier.
+ [Obsolete]
public ulong WorkshopId
{
get
{
- if (!VerifyMode()) return 0uL;
- if (menuMode) return 0uL; // MyGames don't have workshop IDs
- return GameMode.SaveGameDetails.WorkshopId;
+ return 0uL; // Not supported anymore
}
set
{
- VerifyMode();
- if (menuMode)
- {
- // MyGames don't have workshop IDs
- // menuEngine.GetGameInfo(EGID).GameName.Set(value);
- }
- else
- {
- // this likely breaks things
- GameMode.SaveGameDetails = new SaveGameDetails(GameMode.SaveGameDetails.Id,
- GameMode.SaveGameDetails.SaveMode, GameMode.SaveGameDetails.Name,
- GameMode.SaveGameDetails.Folder, value);
- }
}
}
diff --git a/TechbloxModdingAPI/App/GameMenuEngine.cs b/TechbloxModdingAPI/App/GameMenuEngine.cs
index 86f622b..9d8e448 100644
--- a/TechbloxModdingAPI/App/GameMenuEngine.cs
+++ b/TechbloxModdingAPI/App/GameMenuEngine.cs
@@ -79,11 +79,11 @@ namespace TechbloxModdingAPI.App
return EnterGame(mgdes.GameName, mgdes.SavedGamePath);
}
- public bool EnterGame(string gameName, string path, ulong workshopId = 0uL, bool autoEnterSim = false)
+ public bool EnterGame(string gameName, string path, bool autoEnterSim = false)
{
GameMode.CurrentMode = autoEnterSim ? RCXMode.Play : RCXMode.Build;
GameMode.SaveGameDetails = new SaveGameDetails(MachineStorageId.CreateNew().ToString(),
- SaveGameMode.NewSave, gameName, path, workshopId);
+ SaveGameMode.NewSave, gameName, path);
// the private FullGameCompositionRoot.SwitchToGame() method gets passed to menu items for this reason
AccessTools.Method(typeof(FullGameCompositionRoot), "SwitchToGame").Invoke(FullGameFields.Instance, Array.Empty