mirror of
https://github.com/Redot-Engine/redot-engine.git
synced 2025-12-06 15:21:56 -05:00
Rename empty() to is_empty()
This commit is contained in:
@@ -275,7 +275,7 @@ void ScriptServer::save_global_classes() {
|
||||
gcarr.push_back(d);
|
||||
}
|
||||
|
||||
if (gcarr.empty()) {
|
||||
if (gcarr.is_empty()) {
|
||||
if (ProjectSettings::get_singleton()->has_setting("_global_script_classes")) {
|
||||
ProjectSettings::get_singleton()->clear("_global_script_classes");
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user