mirror of
https://github.com/minetest/minetest_game.git
synced 2024-12-22 15:00:18 +01:00
Undo globalization
This commit is contained in:
parent
0110e01826
commit
ce82241ab2
@ -50,12 +50,9 @@ end
|
|||||||
|
|
||||||
-- Player stats and animations
|
-- Player stats and animations
|
||||||
-- model, textures, animation
|
-- model, textures, animation
|
||||||
player_api.players = {}
|
local players = {}
|
||||||
player_api.player_attached = {}
|
player_api.player_attached = {}
|
||||||
|
|
||||||
-- Local for speed.
|
|
||||||
local players = player_api.players
|
|
||||||
|
|
||||||
local function get_player_data(player)
|
local function get_player_data(player)
|
||||||
return assert(players[player:get_player_name()])
|
return assert(players[player:get_player_name()])
|
||||||
end
|
end
|
||||||
|
Loading…
Reference in New Issue
Block a user