You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Don't warn when BlockCode script extends parent script
Commit 87c31b0 ("Warn when Block Code
overrides parent script") introduced a warning when a BlockCode node's
parent has a script attached. But if the parent is (for example) a
Character2D with our SimpleCharacter script attached, this warning is
incorrect: the block code script will correctly extend, not override,
the parent.
Before issuing this warning, check if the parent's script has a
class_name that matches what the generated BlockCode script will extend,
and suppress the warning if so.
Fixes#356
0 commit comments