GDScript: Remove RENAMED_IN_GODOT_4_HINT from GDScriptWarning::Code enum

This commit is contained in:
Danil Alexeev 2025-01-09 21:07:41 +03:00
parent 0e3a5eda86
commit cd918ff470
No known key found for this signature in database
GPG key ID: 5A52F75A8679EC57
8 changed files with 16 additions and 18 deletions

View file

@ -579,7 +579,7 @@ void ScriptTextEditor::_update_warnings() {
bool has_connections_table = false;
// Add missing connections.
if (GLOBAL_GET("debug/gdscript/warnings/enable").booleanize()) {
if (GLOBAL_GET("debug/gdscript/warnings/enable")) {
Node *base = get_tree()->get_edited_scene_root();
if (base && missing_connections.size() > 0) {
has_connections_table = true;