fix: Fixes multiple factions bugs with sigil generation, lighting, and theft (#2375)
This commit is contained in:
parent
b0189ccf4a
commit
e1ae970636
4 changed files with 30 additions and 2 deletions
|
|
@ -32,8 +32,14 @@ public abstract class BaseMonolith : BaseSystemController
|
|||
return;
|
||||
}
|
||||
|
||||
var oldSigil = m_Sigil;
|
||||
m_Sigil = value;
|
||||
|
||||
if (oldSigil != null)
|
||||
{
|
||||
oldSigil.Light = LightType.Empty;
|
||||
}
|
||||
|
||||
if (m_Sigil?.LastMonolith != null && m_Sigil.LastMonolith != this && m_Sigil.LastMonolith.Sigil == m_Sigil)
|
||||
{
|
||||
m_Sigil.LastMonolith.Sigil = null;
|
||||
|
|
@ -91,6 +97,7 @@ public abstract class BaseMonolith : BaseSystemController
|
|||
return;
|
||||
}
|
||||
|
||||
m_Sigil.Light = LightType.Circle225;
|
||||
m_Sigil.MoveToWorld(new Point3D(X, Y, Z + 18), Map);
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue