Fix crash when a person being tracked is killed

master
Ciaran Gultnieks 2014-04-23 11:12:49 +01:00
parent 5b63d22167
commit 361d66e6e5
1 changed files with 1 additions and 1 deletions

View File

@ -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