]> git.lizzy.rs Git - minetest.git/commitdiff
Make GUIEngine use pause_fps_max not fps_max
authorgregorycu <gregory.currie@gmail.com>
Sun, 24 Apr 2016 04:56:56 +0000 (14:56 +1000)
committerCraig Robbins <kde.psych@gmail.com>
Sun, 24 Apr 2016 07:40:16 +0000 (17:40 +1000)
src/guiEngine.cpp

index 84bc8488ea83f5cb0c2b34d32b4f8c7c59483265..ba286a91c56926fafc22e6a44cefa01b0b5f6367 100644 (file)
@@ -361,7 +361,7 @@ void GUIEngine::cloudPreProcess()
 /******************************************************************************/
 void GUIEngine::cloudPostProcess()
 {
-       float fps_max = g_settings->getFloat("fps_max");
+       float fps_max = g_settings->getFloat("pause_fps_max");
        // Time of frame without fps limit
        u32 busytime_u32;