From d6a34f398fb1b613a23f59c9e21c32d46c423602 Mon Sep 17 00:00:00 2001 From: Thomas--S Date: Tue, 6 Oct 2020 19:13:13 +0200 Subject: [PATCH] Fix undeclared variable warning --- init.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/init.lua b/init.lua index 71bb2f5..fc16b83 100755 --- a/init.lua +++ b/init.lua @@ -55,7 +55,7 @@ if ts_furniture.enable_sitting then local ctrl = player:get_player_control() 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 - ts_furniture.up(_, _, player) + ts_furniture.up(nil, nil, player) end end end)