forked from mtcontrib/3d_armor
remove unused variable
This commit is contained in:
parent
681bf25505
commit
a07a00c117
@ -51,8 +51,7 @@ armor.set_player_armor = function(self, player)
|
|||||||
local state = 0
|
local state = 0
|
||||||
local items = 0
|
local items = 0
|
||||||
local textures = {}
|
local textures = {}
|
||||||
local elements = {}
|
local elements = {}
|
||||||
local has_physics = false
|
|
||||||
local physics_o = {speed=1,gravity=1,jump=1}
|
local physics_o = {speed=1,gravity=1,jump=1}
|
||||||
for i, v in ipairs(self.elements) do
|
for i, v in ipairs(self.elements) do
|
||||||
local stack = player_inv:get_stack("armor_"..v, 1)
|
local stack = player_inv:get_stack("armor_"..v, 1)
|
||||||
|
Loading…
Reference in New Issue
Block a user