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:
parent
dce9468925
commit
0903190ba2
5 changed files with 22 additions and 2 deletions
|
@ -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();
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue