From 89fdf311ec93bfe5dd8b88f31dcd5d1183ce2e4c Mon Sep 17 00:00:00 2001 From: ElCeejo <40281901+ElCeejo@users.noreply.github.com> Date: Sat, 16 Oct 2021 14:05:52 -0700 Subject: [PATCH] initiate cached yaw in on_activate --- api/api.lua | 1 + 1 file changed, 1 insertion(+) diff --git a/api/api.lua b/api/api.lua index 0b08967..59d7eba 100644 --- a/api/api.lua +++ b/api/api.lua @@ -576,6 +576,7 @@ function animalia.on_activate(self, staticdata, dtime_s) end end end + self._tyaw = self.object:get_yaw() or 0 end local function lasso_effect(self, pos2)