public override void Entry(IModHelper helper) { ModHelper = Helper; config = Helper.ReadConfig <SConfig>(); SaveEvents.AfterLoad += SaveEvents_AfterLoad; SaveEvents.AfterReturnToTitle += SaveEvents_AfterReturnToTitle; }
public override void Entry(IModHelper helper) { ModHelper = Helper; config = helper.ReadConfig <SConfig>(); helper.Events.GameLoop.SaveLoaded += OnSaveLoaded; helper.Events.GameLoop.ReturnedToTitle += OnReturnedToTitle; }