Fix wrong player name accessor.

* Duh..
This commit is contained in:
kabou 2022-03-30 01:31:38 +02:00
parent 14da059ce7
commit 1b99b73894

View file

@ -71,7 +71,7 @@ local function on_leaveplayer(player)
-- For some unexplained reasons, mcl_burning.storage can be `nil` here. -- For some unexplained reasons, mcl_burning.storage can be `nil` here.
-- Logging this exception to assist in finding the cause of this. -- Logging this exception to assist in finding the cause of this.
minetest.log("warning", "on_leaveplayer: missing mcl_burning.storage " minetest.log("warning", "on_leaveplayer: missing mcl_burning.storage "
.. "for player " .. player.name) .. "for player " .. player:get_player_name())
storage = {} storage = {}
end end
storage.fire_hud_id = nil storage.fire_hud_id = nil