initiate cached yaw in on_activate

This commit is contained in:
ElCeejo 2021-10-16 14:05:52 -07:00 committed by GitHub
parent e3187bfb40
commit 89fdf311ec
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -576,6 +576,7 @@ function animalia.on_activate(self, staticdata, dtime_s)
end end
end end
end end
self._tyaw = self.object:get_yaw() or 0
end end
local function lasso_effect(self, pos2) local function lasso_effect(self, pos2)