Fix undeclared variable warning
This commit is contained in:
parent
bc1276b5eb
commit
d6a34f398f
2
init.lua
2
init.lua
@ -55,7 +55,7 @@ if ts_furniture.enable_sitting then
|
|||||||
local ctrl = player:get_player_control()
|
local ctrl = player:get_player_control()
|
||||||
if default.player_attached[name] and not player:get_attach() and
|
if default.player_attached[name] and not player:get_attach() and
|
||||||
(ctrl.up or ctrl.down or ctrl.left or ctrl.right or ctrl.jump) then
|
(ctrl.up or ctrl.down or ctrl.left or ctrl.right or ctrl.jump) then
|
||||||
ts_furniture.up(_, _, player)
|
ts_furniture.up(nil, nil, player)
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
end)
|
end)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user