fix(uxassist): clear beacon markers on planet reset in 1.6.3

This commit is contained in:
soarqin committed 2026-10-06 15:47:28 +08:00
1 parent 9fc2723bca
commit 205cf55440
3 files changed
+11 -1

No files matched your search

+6
View File
@@ -478,6 +478,12 @@ public static class PlanetFunctions
factory.BeforeDismantleObject(id);
if (ed.markerId != 0)
{
factory.digitalSystem.RemoveMarkerComponent(ed.markerId);
ed.markerId = 0;
}
if (ed.colliderId != 0)
{
physics.RemoveLinkedColliderData(ed.colliderId);