Probably time to give up on custom objects for networking. It just doesn't seem to work out well.

This commit is contained in:
Joshua Navarro 2018-12-16 22:00:53 -08:00
parent e503fb210c
commit 835f21fb22
1 changed files with 6 additions and 0 deletions

View File

@ -573,7 +573,13 @@ namespace StardustCore
} }
StardustCore.ModCore.SerializationManager.trackedObjectList.Remove(this);
this.thisLocation.removeObject(this.TileLocation, false);
this.thisLocation = null; this.thisLocation = null;
this.locationsName = "";
base.performRemoveAction(tileLocation, environment); base.performRemoveAction(tileLocation, environment);
} }