Remove non-functioning saving of gm invis, re-add gm invis as a feature (#1976)

Does not save, only works for this world.  Fixed an issue where the incorrect comparison was used to make players invisible again (the same check that makes then INvisible needs to make them visible.)
This commit is contained in:
David Markowitz
2026-05-27 02:35:00 -07:00
committed by GitHub
parent 4ef9f43266
commit 4ab09cf1aa
2 changed files with 3 additions and 28 deletions

View File

@@ -16,8 +16,6 @@ public:
static inline const eReplicaComponentType ComponentType = eReplicaComponentType::GHOST;
GhostComponent(Entity* parent, const int32_t componentID);
~GhostComponent() override;
void LoadFromXml(const tinyxml2::XMLDocument& doc) override;
void UpdateXml(tinyxml2::XMLDocument& doc) override;
void SetGhostOverride(bool value) { m_GhostOverride = value; };