From 835f21fb22873b6e88b09b962ccc7bc2d049dfa7 Mon Sep 17 00:00:00 2001 From: Joshua Navarro Date: Sun, 16 Dec 2018 22:00:53 -0800 Subject: [PATCH] Probably time to give up on custom objects for networking. It just doesn't seem to work out well. --- GeneralMods/StardustCore/Objects/CoreObject.cs | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/GeneralMods/StardustCore/Objects/CoreObject.cs b/GeneralMods/StardustCore/Objects/CoreObject.cs index 70c3f450..2252bb35 100644 --- a/GeneralMods/StardustCore/Objects/CoreObject.cs +++ b/GeneralMods/StardustCore/Objects/CoreObject.cs @@ -573,7 +573,13 @@ namespace StardustCore } + + StardustCore.ModCore.SerializationManager.trackedObjectList.Remove(this); + this.thisLocation.removeObject(this.TileLocation, false); + this.thisLocation = null; + this.locationsName = ""; + base.performRemoveAction(tileLocation, environment); }