mirror of
https://repo.or.cz/minetest_orienteering.git
synced 2025-01-09 22:27:30 +01:00
Fix quadcorder mapping function
This commit is contained in:
parent
c40a965a8e
commit
c3e47196e4
2
init.lua
2
init.lua
@ -152,7 +152,7 @@ end
|
|||||||
|
|
||||||
function update_automapper(player)
|
function update_automapper(player)
|
||||||
local inv = player:get_inventory()
|
local inv = player:get_inventory()
|
||||||
if inv:contains_item("main", "orienteering:automapper") then
|
if inv:contains_item("main", "orienteering:automapper") or inv:contains_item("main", "orienteering:quadcorder") then
|
||||||
player:hud_set_flags({minimap = true})
|
player:hud_set_flags({minimap = true})
|
||||||
else
|
else
|
||||||
player:hud_set_flags({minimap = false})
|
player:hud_set_flags({minimap = false})
|
||||||
|
Loading…
Reference in New Issue
Block a user