MPFConditional: Script inherits from native type 'Control', so it can't be assigned to an object of type: 'Node2D' #164
-
Hi, I have a game using MPFConditional. It worked so far but now I pulled from git and get the error Any idea if I broke something? Or did Godots behavior change? |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 2 replies
-
Found out that @avanwinkle changed all superclasses from Node2D to Control. |
Beta Was this translation helpful? Give feedback.
Unfortunately this breaking change was required for future support of themes. A link the the remediation steps was put into the changelog but you can see it at https://groups.google.com/g/mpf-users/c/eogaMj_sVNk
Hopefully it's straightforward for you to update the impacted nodes and get back on your way!