diff --git a/X2WOTCCommunityPromotionScreen/Config/XComGame.ini b/X2WOTCCommunityPromotionScreen/Config/XComGame.ini index 29e570c..d4d2df4 100644 --- a/X2WOTCCommunityPromotionScreen/Config/XComGame.ini +++ b/X2WOTCCommunityPromotionScreen/Config/XComGame.ini @@ -20,4 +20,10 @@ DisplayName="[WOTC] Community Promotion Screen" ; Issue #67 - Specify better display name for [WOTC] Train from Armoury. [TrainRepProm CHModDependency] -DisplayName="[WOTC] Train from Armoury" \ No newline at end of file +DisplayName="[WOTC] Train from Armoury" + +[VariousOptions.AdvancedAbilityButton] +; Issue #85 - Prevent Various Options mod from interfering with CPS. +; https://steamcommunity.com/sharedfiles/filedetails/?id=1581142050 +; To be sure, CPS also kills VO's UISL. +Enabled = false diff --git a/X2WOTCCommunityPromotionScreen/Src/X2WOTCCommunityPromotionScreen/Classes/X2DownloadableContentInfo_X2WOTCCommunityPromotionScreen.uc b/X2WOTCCommunityPromotionScreen/Src/X2WOTCCommunityPromotionScreen/Classes/X2DownloadableContentInfo_X2WOTCCommunityPromotionScreen.uc index 6ef4625..8d4acdc 100644 --- a/X2WOTCCommunityPromotionScreen/Src/X2WOTCCommunityPromotionScreen/Classes/X2DownloadableContentInfo_X2WOTCCommunityPromotionScreen.uc +++ b/X2WOTCCommunityPromotionScreen/Src/X2WOTCCommunityPromotionScreen/Classes/X2DownloadableContentInfo_X2WOTCCommunityPromotionScreen.uc @@ -58,6 +58,9 @@ static function OnPreCreateTemplates() // Issue #62 Update_ViewLockedSkills_UISL(); + + // Issue #85 + Neuter_VariousOptions_UISL(); } // Start Issue #26 @@ -73,6 +76,19 @@ static final function Neuter_NPSBD_UISL() } // End Issue #26 +// Start Issue #85 +static final function Neuter_VariousOptions_UISL() +{ + local UIScreenListener CDO; + + CDO = UIScreenListener(class'XComEngine'.static.GetClassDefaultObjectByName(name("VariousOptions.AdvancedAbilityButton"))); + if (CDO != none) + { + CDO.ScreenClass = class'UIScreen_Dummy'; + } +} +// End Issue #85 + // Start Issue #62 /// This handles CPS' compatibility with View Locked Skills - Wotc /// https://steamcommunity.com/sharedfiles/filedetails/?id=1130817270