mirror of
https://github.com/bitburner-official/bitburner-src.git
synced 2024-12-01 20:13:51 +01:00
BUGFIX: Generic Reviver does not handle Message class (#1796)
This commit is contained in:
parent
294c9cbf4d
commit
9d8ac65aaf
@ -16,6 +16,7 @@ export function Reviver(_key: string, value: unknown): any {
|
|||||||
// Known missing constructors with special handling.
|
// Known missing constructors with special handling.
|
||||||
switch (value.ctor) {
|
switch (value.ctor) {
|
||||||
case "AllServersMap": // Reviver removed in v0.43.1
|
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 "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 "Employee": // Entire object removed from game in v2.2.0 (employees abstracted)
|
||||||
case "Company": // Reviver removed in v2.6.1
|
case "Company": // Reviver removed in v2.6.1
|
||||||
|
Loading…
Reference in New Issue
Block a user