2
0
Эх сурвалжийг харах

Merge pull request #16005 from Zephilinox/print_fps

Print FPS setting now only prints the game FPS
Rémi Verschelde 7 жил өмнө
parent
commit
fb56315ea2
1 өөрчлөгдсөн 1 нэмэгдсэн , 1 устгасан
  1. 1 1
      main/main.cpp

+ 1 - 1
main/main.cpp

@@ -1775,7 +1775,7 @@ bool Main::iteration() {
 
 	if (frame > 1000000) {
 
-		if (GLOBAL_DEF("debug/settings/stdout/print_fps", OS::get_singleton()->is_stdout_verbose())) {
+		if (GLOBAL_DEF("debug/settings/stdout/print_fps", OS::get_singleton()->is_stdout_verbose()) && !editor) {
 			print_line("FPS: " + itos(frames));
 		};