You've already forked godot
mirror of
https://github.com/godotengine/godot.git
synced 2025-11-14 13:41:12 +00:00
Replace GDVIRTUAL_CALL with GDVIRTUAL_REQUIRED_CALL where applicable
This commit is contained in:
@@ -62,9 +62,7 @@ EditorInterface *EditorScript::get_editor_interface() const {
|
||||
}
|
||||
|
||||
void EditorScript::run() {
|
||||
if (!GDVIRTUAL_CALL(_run)) {
|
||||
EditorNode::add_io_error(TTR("Couldn't run editor script, did you forget to override the '_run' method?"));
|
||||
}
|
||||
GDVIRTUAL_REQUIRED_CALL(_run);
|
||||
}
|
||||
|
||||
void EditorScript::_bind_methods() {
|
||||
|
||||
Reference in New Issue
Block a user