浏览代码

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));
 		};