mirror of
https://github.com/sys4-fr/server-nalc.git
synced 2025-06-28 06:11:47 +02:00
Removed two global variables
Thanks to crabman for having warned me.
This commit is contained in:
@ -48,7 +48,7 @@ unified_inventory.register_button("home_gui_set", {
|
||||
tooltip = S("Set home position"),
|
||||
action = function(player)
|
||||
minetest.sound_play("dingdong",
|
||||
{to_player=player_name, gain = 1.0})
|
||||
{to_player=player:get_player_name(), gain = 1.0})
|
||||
home.sethome(player:get_player_name())
|
||||
end,
|
||||
})
|
||||
|
Reference in New Issue
Block a user