aboutsummaryrefslogtreecommitdiff
path: root/src/game.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/game.cpp')
-rw-r--r--src/game.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/game.cpp b/src/game.cpp
index e666e084d..78962c18c 100644
--- a/src/game.cpp
+++ b/src/game.cpp
@@ -1071,6 +1071,7 @@ void the_game(
object_hit_delay_timer -= dtime;
g_profiler->add("Elapsed time", dtime);
+ g_profiler->avg("FPS", 1./dtime);
/*
Log frametime for visualization