mirror of
https://git.minetest.land/MineClone2/MineClone2.git
synced 2024-12-03 16:23:47 +01:00
Fix wrong player name accessor.
* Duh..
This commit is contained in:
parent
14da059ce7
commit
1b99b73894
@ -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
|
||||||
|
Loading…
Reference in New Issue
Block a user