summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorZephilinox <zephilinox@hotmail.co.uk>2018-01-23 23:40:24 +0000
committerZephilinox <zephilinox@hotmail.co.uk>2018-01-23 23:40:24 +0000
commit1c473a47e55247dafe7971fa69f6b2d6155ac33b (patch)
tree69abd1cd8e61612035eec6cd8d3e5c97ea5f25c7
parent59e83af201af5a93c7a13750d781c050c2275c07 (diff)
Print FPS setting now only prints the game FPS
-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));
};