Fix crash when a person being tracked is killed
parent
5b63d22167
commit
361d66e6e5
2
init.lua
2
init.lua
|
@ -632,7 +632,7 @@ minetest.register_globalstep(function(dtime)
|
|||
if pshow then
|
||||
if not people.people[pshow.name] then
|
||||
-- Probably the person died or was deleted...
|
||||
hud_show_by_player[playername] = nil
|
||||
people.hud_show_by_player[playername] = nil
|
||||
player:hud_remove(pshow.id)
|
||||
else
|
||||
local pos, col
|
||||
|
|
Loading…
Reference in New Issue