Created
September 15, 2020 13:03
-
-
Save jamesdeantv/fe3e12eef994393014ab4f86a412222e to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
namespace SkylinesMod | |
{ | |
public class EnableAchievements : IUserMod | |
{ | |
public string Name | |
{ | |
get { return "Enable Achievements"; } | |
} | |
public string Description | |
{ | |
get { return "Enables achievements when mods are loaded."; } | |
} | |
} | |
public class EnableAchievementsLoad : LoadingExtensionBase | |
{ | |
public override void OnLevelLoaded(LoadMode mode) | |
{ | |
Singleton<SimulationManager>.instance.m_metaData.m_disableAchievements = SimulationMetaData.MetaBool.False; | |
} | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment