From ef78673561b05c997289b0cb429dd10f34a9c06d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Lilian=20J=C3=B3nsd=C3=B3ttir?= Date: Sun, 8 Aug 2021 20:01:33 -0700 Subject: [PATCH] don't do anything if formula calculates 0 This should fix Better Buoyancy compatibilty if the enabled formula does calculate 0 --- MWSE/mods/celediel/ASinkingFeeling/main.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/MWSE/mods/celediel/ASinkingFeeling/main.lua b/MWSE/mods/celediel/ASinkingFeeling/main.lua index 5f1995e..3a3f5d8 100644 --- a/MWSE/mods/celediel/ASinkingFeeling/main.lua +++ b/MWSE/mods/celediel/ASinkingFeeling/main.lua @@ -79,7 +79,7 @@ local function sinkInWater(e) end -- finally add down-pull from configured formula to tes3.mobilePlayer.velocity.z to simulate being pulled down - mobile.velocity.z = -downPull + if downPull ~= 0 then mobile.velocity.z = -downPull end end local function onInitialized()