mirror of
https://github.com/soarqin/DSP_Mods.git
synced 2026-11-19 17:05:20 +08:00
fix(uxassist): clear beacon markers on planet reset in 1.6.3
This commit is contained in:
1 parent
9fc2723bca
commit
205cf55440
3 files changed
+11
-1
No files matched your search
@@ -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);
|
||||
|
||||
Reference in new issue
Block a user