You've already forked godot
mirror of
https://github.com/godotengine/godot.git
synced 2025-11-05 12:10:55 +00:00
GDScript: Don't add implicit constructor to the list of functions
So it's not shown on docs or when listing the methods. This also avoids being able to call it using the `call()` function.
This commit is contained in:
@@ -1254,6 +1254,10 @@ GDScript::~GDScript() {
|
||||
memdelete(E.value);
|
||||
}
|
||||
|
||||
if (implicit_initializer) {
|
||||
memdelete(implicit_initializer);
|
||||
}
|
||||
|
||||
if (GDScriptCache::singleton) { // Cache may have been already destroyed at engine shutdown.
|
||||
GDScriptCache::remove_script(get_path());
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user