mirror of
https://git.minetest.land/VoxeLibre/VoxeLibre.git
synced 2025-04-22 23:25:15 +02:00
Fix local function code style
This commit is contained in:
parent
8b11e2fec8
commit
ba38f787e2
1 changed files with 2 additions and 2 deletions
|
@ -123,7 +123,7 @@ pumpkin_face_base_def._mcl_armor_preview = "mcl_farming_pumpkin_face_preview.png
|
|||
|
||||
if minetest.get_modpath("mcl_armor") then
|
||||
local pumpkin_hud = {}
|
||||
local add_pumpkin_hud = function(player)
|
||||
local function add_pumpkin_hud(player)
|
||||
local name = player:get_player_name()
|
||||
pumpkin_hud[name] = {
|
||||
pumpkin_blur = player:hud_add({
|
||||
|
@ -144,7 +144,7 @@ if minetest.get_modpath("mcl_armor") then
|
|||
})
|
||||
}
|
||||
end
|
||||
local remove_pumpkin_hud = function(player)
|
||||
local function remove_pumpkin_hud(player)
|
||||
local name = player:get_player_name()
|
||||
if pumpkin_hud[name] then
|
||||
player:hud_remove(pumpkin_hud[name].pumpkin_blur)
|
||||
|
|
Loading…
Add table
Reference in a new issue