SEModCommunity / SE-Community-Mod-API

Space Engineers Community Modding API
GNU Lesser General Public License v3.0
60 stars 47 forks source link

BUG: Faction member list does not update when added to #143

Open Tyrsis opened 9 years ago

Tyrsis commented 9 years ago

Join a faction, check faction member list, player is not in faction.

The player is indeed in the faction, and I'm actually able to invoke on the backingobject to get a faction collection that indeed has the player in the faction.

MyObjectBuilder_FactionCollection m_factionCollection = (MyObjectBuilder_FactionCollection)InvokeEntityMethod(FactionsManager.Instance.BackingObject, FactionsManager.FactionManagerGetFactionCollectionMethod);

will return a collection that does have a faction that contains the player. So it's updated in the game, just not in API