mirror of
https://git.minetest.land/VoxeLibre/VoxeLibre.git
synced 2024-11-17 16:41:06 +01:00
Fix wrong player name accessor.
* Duh..
This commit is contained in:
parent
14da059ce7
commit
1b99b73894
1 changed files with 1 additions and 1 deletions
|
@ -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 a new issue