mirror of
https://github.com/luanti-org/minetest_game.git
synced 2025-05-22 07:13:17 -04:00
Remove unneeded player variable
This commit is contained in:
parent
6708719a17
commit
25d8cba768
1 changed files with 0 additions and 1 deletions
|
@ -240,7 +240,6 @@ end)
|
|||
|
||||
minetest.register_on_dieplayer(function(player)
|
||||
local name = player:get_player_name()
|
||||
local player = minetest.get_player_by_name(name)
|
||||
local in_bed = beds.player
|
||||
local pos = player:get_pos()
|
||||
local yaw = get_look_yaw(pos)
|
||||
|
|
Loading…
Add table
Reference in a new issue