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

+2
View File
@@ -4,6 +4,7 @@
## Changlog
* 1.6.2
* `Initialize This Planet`: Fix an occasional array index error after initializing a planet with Holo Beacons.
* `Planet vein utilization`: Restore the original vertical alignment of vein-group counts and keep resource names in their original positions.
* 1.6.1
* `Larger area for terraform`: Restore 11x11 through 30x30 foundation and Restore Terrain brushes after DSP 0.10.35.29104.
@@ -425,6 +426,7 @@
## 更新日志
* 1.6.2
* `初始化本行星`:修复行星上存在全息信标时,初始化后可能出现数组越界报错的问题。
* `宇宙视图行星/星系矿脉数量显示`:修复矿脉数量文字偏下和矿物名称向右偏移的问题。
* 1.6.1
* `范围铺设地基的最大区域扩大`:适配 DSP 0.10.35.29104,恢复 11x11 至 30x30 的铺设地基与恢复地形范围。
+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);