6ca73386d1
Autoloaded scripts should always inherit from Node. When you run a
project that tries to autoload a script which doesn’t inherit from Node,
then Godot gives an error.
Before this change, the error said “Script does not inherit a Node”.
That error message is a little bit misleading. If a class inherits a
Node, then one of its superclasses has a Node. If a class inherits
_from_ Node, then one of its superclasses is Node. This change corrects
that mistake.
Fixes #59884.
(cherry picked from commit
|
||
---|---|---|
.. | ||
tests | ||
app_icon.png | ||
default_controller_mappings.h | ||
gamecontrollerdb.txt | ||
godotcontrollerdb.txt | ||
input_default.cpp | ||
input_default.h | ||
main_builders.py | ||
main_timer_sync.cpp | ||
main_timer_sync.h | ||
main.cpp | ||
main.h | ||
performance.cpp | ||
performance.h | ||
SCsub | ||
splash.png |