mirror of
git://repo.or.cz/minetest_schemedit.git
synced 2025-07-05 01:20:23 +02:00
Compare commits
2 Commits
Author | SHA1 | Date | |
---|---|---|---|
14ffdc6ef5 | |||
781041b0fb |
@ -1,7 +1,7 @@
|
||||
# Schematic Editor [`schemedit`]
|
||||
|
||||
## Version
|
||||
1.4.2
|
||||
1.4.3
|
||||
|
||||
## Description
|
||||
This is a mod which allows you to edit and export schematics (`.mts` files).
|
||||
|
8
init.lua
8
init.lua
@ -991,9 +991,11 @@ end
|
||||
function schemedit.clear_displayed_node_probs(player)
|
||||
local playername = player:get_player_name()
|
||||
for nodehash, hud_id in pairs(displayed_waypoints[playername]) do
|
||||
player:hud_remove(hud_id)
|
||||
displayed_waypoints[playername][nodehash] = nil
|
||||
displayed_waypoints[playername].display_active = false
|
||||
if nodehash ~= "display_active" then
|
||||
player:hud_remove(hud_id)
|
||||
displayed_waypoints[playername][nodehash] = nil
|
||||
displayed_waypoints[playername].display_active = false
|
||||
end
|
||||
end
|
||||
end
|
||||
|
||||
|
Reference in New Issue
Block a user