소스 검색

Merge pull request #16005 from Zephilinox/print_fps

Print FPS setting now only prints the game FPS
Rémi Verschelde 7 년 전
부모
커밋
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));
 		};