1
0
mirror of https://github.com/luanti-org/luanti.git synced 2025-10-13 08:35:20 +02: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();
}
}