fix crash

master
MisterE123 2021-02-27 11:56:40 -05:00
parent f55b3fe935
commit 554929aed3
1 changed files with 1 additions and 1 deletions

View File

@ -245,7 +245,7 @@ minetest.register_globalstep(function(dtime)
player:hud_remove(sumo.push_hud[pl_name])
sumo.push_hud[pl_name] = nil
end
if sumo.jump_hud then
if sumo.jump_hud[pl_name] then
player:hud_remove(sumo.jump_hud[pl_name])
sumo.jump_hud[pl_name] = nil
end