Skip to content

Commit

Permalink
BUGFIX: Generic Reviver does not handle Message class (bitburner-offi…
Browse files Browse the repository at this point in the history
  • Loading branch information
catloversg authored Nov 24, 2024
1 parent 294c9cb commit 9d8ac65
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/utils/GenericReviver.ts
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@ export function Reviver(_key: string, value: unknown): any {
// Known missing constructors with special handling.
switch (value.ctor) {
case "AllServersMap": // Reviver removed in v0.43.1
case "Message": // Reviver removed in v1.6.4
case "Industry": // No longer part of save data since v2.3.0
case "Employee": // Entire object removed from game in v2.2.0 (employees abstracted)
case "Company": // Reviver removed in v2.6.1
Expand Down

0 comments on commit 9d8ac65

Please sign in to comment.