1
0
mirror of https://github.com/ComfyFactory/ComfyFactorio.git synced 2025-01-04 00:15:45 +02:00
ComfyFactorio/maps/scrap_towny_ffa/map.lua

19 lines
406 B
Lua

local Public = {}
function Public.disable_world_map(player)
player.map_view_settings = {
["show-player-names"] = false,
}
player.show_on_map = false
player.game_view_settings.show_minimap = false
end
function Public.enable_world_map(player)
player.map_view_settings = {
["show-player-names"] = true,
}
player.show_on_map = true
player.game_view_settings.show_minimap = true
end
return Public