Undo globalization

This commit is contained in:
LoneWolfHT 2022-02-07 12:36:47 -08:00 committed by GitHub
parent 7405174f26
commit 19d20e2605
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 4 deletions

View File

@ -50,12 +50,9 @@ end
-- Player stats and animations
-- model, textures, animation
player_api.players = {}
local players = {}
player_api.player_attached = {}
-- Local for speed.
local players = player_api.players
local function get_player_data(player)
return assert(players[player:get_player_name()])
end