1
0
mirror of https://github.com/godotengine/godot.git synced 2026-01-03 19:11:41 +00:00
Files
godot/modules
Jason Yundt 1cc7e7ec33 Improve autoload inheritance error message
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.
2022-04-04 15:51:02 -04:00
..
2022-01-03 21:27:34 +01:00
2022-02-01 15:58:30 +02:00
2022-02-04 15:15:26 -08:00
2022-03-09 16:24:32 +01:00
2022-01-03 21:27:34 +01:00
2022-01-03 21:27:34 +01:00
2022-03-31 14:07:29 +02:00
2022-04-04 18:43:29 +10:00
2022-02-15 00:03:31 +01:00
2022-03-09 13:59:03 +01:00
2022-02-15 00:03:31 +01:00
2022-01-03 21:27:34 +01:00
2022-01-03 21:27:34 +01:00