fix crash through wrong variable use
This commit is contained in:
parent
b74cfc0142
commit
2091c6ac72
|
@ -21,8 +21,8 @@ minetest.register_on_joinplayer(function(player)
|
||||||
end)
|
end)
|
||||||
|
|
||||||
minetest.register_on_leaveplayer(function(player)
|
minetest.register_on_leaveplayer(function(player)
|
||||||
if multi_map.hud.enabled and player_huds[player:get_player_name()] then
|
if multi_map.hud.enabled and saved_huds[player:get_player_name()] then
|
||||||
player_huds[player:get_player_name()] = nil
|
saved_huds[player:get_player_name()] = nil
|
||||||
end
|
end
|
||||||
end)
|
end)
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue