mirror of
https://github.com/minetest/minetest.git
synced 2025-02-17 10:23:47 +01:00
Defer minimap update when shape changed
This commit is contained in:
@ -273,6 +273,7 @@ void Mapper::toggleMinimapShape()
|
||||
{
|
||||
data->minimap_shape_round = !data->minimap_shape_round;
|
||||
g_settings->setBool(("minimap_shape_round"), data->minimap_shape_round);
|
||||
m_minimap_update_thread->deferUpdate();
|
||||
}
|
||||
|
||||
void Mapper::setMinimapMode(MinimapMode mode)
|
||||
|
Reference in New Issue
Block a user