Skip to content

Conversation

Iridar
Copy link

@Iridar Iridar commented Jan 28, 2023

Fixes #85

Prevent Various Options from interfering with CPS.

@Iridar Iridar added the mod-compatibility CPS has compatibility issues with another mod label Jan 28, 2023
@Iridar Iridar added this to the Version 1.1 milestone Jan 28, 2023
@Iridar Iridar self-assigned this Jan 28, 2023
{
local UIScreenListener CDO;

CDO = UIScreenListener(class'XComEngine'.static.GetClassDefaultObject(class'VariousOptions.AdvancedAbilityButton'));
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

What happens at compile time with this import if the compiler doesn't see this class, and what happens at runtime if this package doesn't exist? I'd feel more comfortable if this avoided an import and instead used FindObject or something to find this CDO.

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Oh damn, you're right, this is supposed to be get CDO by name. Will adjust.

@Iridar Iridar force-pushed the 85-various-options-killer branch from dbb4517 to c7a8a94 Compare February 4, 2023 16:39
@Iridar Iridar requested a review from robojumper February 4, 2023 16:40
@Iridar Iridar added the ready-for-review Waiting to be peer-reviewed label Feb 8, 2023
@Iridar Iridar merged commit e1cf93a into master Feb 13, 2023
@Iridar Iridar deleted the 85-various-options-killer branch February 13, 2023 20:27
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
mod-compatibility CPS has compatibility issues with another mod ready-for-review Waiting to be peer-reviewed
Projects
None yet
Development

Successfully merging this pull request may close these issues.

CPS allegedly incompatible with Oni's Various Options
3 participants