1
0
Fork 0
mirror of https://github.com/luanti-org/luanti.git synced 2025-06-27 16:36:03 +00:00

Hide minimap if it has been disabled by server

This commit is contained in:
est31 2015-09-01 03:07:02 +02:00
parent dce9468925
commit 0903190ba2
5 changed files with 22 additions and 2 deletions

View 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();
}
}