Translated using Weblate (Japanese)
[oweals/minetest.git] / src / game.cpp
index 0e26493a24fe070e303955589b55737121cba062..840d627b6796916716d2ac0d0514068a2cc72f06 100644 (file)
@@ -1857,6 +1857,9 @@ void Game::run()
                updateFrame(highlight_boxes, &graph, &stats, &runData, dtime,
                                flags, cam_view);
                updateProfilerGraphs(&graph);
+
+               // Update if minimap has been disabled by the server
+               flags.show_minimap &= !client->isMinimapDisabledByServer();
        }
 }