From 335559feb3946b43a321e3703f19236438959e6d Mon Sep 17 00:00:00 2001 From: wsor4035 <24964441+wsor4035@users.noreply.github.com> Date: Wed, 11 Sep 2024 20:18:38 -0400 Subject: [PATCH] fix seating only working once till server restarts --- homedecor_seating/init.lua | 1 + 1 file changed, 1 insertion(+) diff --git a/homedecor_seating/init.lua b/homedecor_seating/init.lua index 11cfc048..cec447f4 100644 --- a/homedecor_seating/init.lua +++ b/homedecor_seating/init.lua @@ -142,6 +142,7 @@ function lrfurn.stand(clicker) xcompat.player.player_attached[clicker:get_player_name()] = false if physics_cache[clicker:get_player_name()] then clicker:set_physics_override(physics_cache[clicker:get_player_name()]) + physics_cache[clicker:get_player_name()] = nil else --in case this is called and the cache is empty clicker:set_physics_override({speed = 1, jump = 1, gravity = 1}) end