Disable SSD indicator for NPC (#20027)

* Make ActiveNPCComponent shared

* Check if entity have ActiveNPC component

* Make networked

* Fix path

* fix
This commit is contained in:
Morb
2023-09-15 05:15:26 +03:00
committed by GitHub
parent 4e883d90b1
commit 8bcab77bc4
7 changed files with 22 additions and 3 deletions

View File

@@ -13,7 +13,7 @@ public sealed partial class SSDIndicatorComponent : Component
{
[ViewVariables(VVAccess.ReadWrite)]
[AutoNetworkedField]
public bool IsSSD = true;
public bool IsSSD = false;
[ViewVariables(VVAccess.ReadWrite)]
[DataField("icon", customTypeSerializer: typeof(PrototypeIdSerializer<StatusIconPrototype>))]