summaryrefslogtreecommitdiff
path: root/main/main.cpp
diff options
context:
space:
mode:
authorRémi Verschelde <rverschelde@gmail.com>2018-01-24 08:26:06 +0100
committerGitHub <noreply@github.com>2018-01-24 08:26:06 +0100
commitfb56315ea20bad73f1169e86a1c213bcdc0be08b (patch)
tree56320d61b05cb59f275e3f791e8f30db71fee83d /main/main.cpp
parente1ae7dffd3ffe29dedbf60a42fc5d1c0e4d9014a (diff)
parent1c473a47e55247dafe7971fa69f6b2d6155ac33b (diff)
Merge pull request #16005 from Zephilinox/print_fps
Print FPS setting now only prints the game FPS
Diffstat (limited to 'main/main.cpp')
-rw-r--r--main/main.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/main/main.cpp b/main/main.cpp
index 4759e378e9..f6a8391447 100644
--- a/main/main.cpp
+++ b/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));
};