Skip to content

Fix for redirect hooks not working on expressions of class type#410

Open
noopsledge wants to merge 1 commit intosatisfactorymodding:devfrom
noopsledge:fix-class-property-expression
Open

Fix for redirect hooks not working on expressions of class type#410
noopsledge wants to merge 1 commit intosatisfactorymodding:devfrom
noopsledge:fix-class-property-expression

Conversation

@noopsledge
Copy link
Copy Markdown

SML was using the meta-class's class as the property class, e.g. if it was a blueprint then it'd use UBlueprintGeneratedClass. However the engine (in FKismetCompilerUtilities::CreatePrimitiveProperty) will always use UClass, which results in a mismatch which is especially bad for redirect hooks as they require an exact match.

SML was using the meta-class's class as the property class, e.g. if it
was a blueprint then it'd use UBlueprintGeneratedClass. However the
engine (in FKismetCompilerUtilities::CreatePrimitiveProperty) will
always use UClass, which results in a mismatch which is especially bad
for redirect hooks as they require an exact match.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

Development

Successfully merging this pull request may close these issues.

2 participants