public override void Apply() { MyFaction faction = null; if (FactionTag != null) { faction = MySession.Static.Factions.TryGetOrCreateFactionByTag(FactionTag); } long factionId = faction != null ? faction.FactionId : 0; MyWorldGenerator.SetupBase(PrefabFile, Offset, AsteroidName, BeaconName, factionId); }
public override void Apply() { MyWorldGenerator.SetupBase(PrefabFile, Offset, AsteroidName, BeaconName); }