Browse Source

Merge pull request #64483 from danboo/system-font-use-first-match-fix

Hugo Locurcio 3 years ago
parent
commit
54a9cd9d5d
1 changed files with 2 additions and 0 deletions
  1. 2 0
      scene/resources/font.cpp

+ 2 - 0
scene/resources/font.cpp

@@ -2808,6 +2808,8 @@ void SystemFont::_update_base_font() {
 		file->set_oversampling(oversampling);
 
 		base_font = file;
+
+		break;
 	}
 
 	if (base_font.is_valid()) {