|
|
@@ -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. |
|
|
|
/// </summary> |
|
|
|
/// <value>The workshop identifier.</value> |
|
|
|
[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); |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|