From ac864693a151ce4b626e328c54170db527ae699e Mon Sep 17 00:00:00 2001 From: mazes 80 <> Date: Sat, 3 Sep 2022 16:18:39 +0200 Subject: [PATCH] Deprecated get_player_velocity -> get_velocity --- ca_weathers/ambient.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ca_weathers/ambient.lua b/ca_weathers/ambient.lua index e9fe022..53c625d 100644 --- a/ca_weathers/ambient.lua +++ b/ca_weathers/ambient.lua @@ -50,7 +50,7 @@ local function generate_effects(params) override["climate_api:skybox"] = skybox - local movement = params.player:get_player_velocity() + local movement = params.player:get_velocity() local movement_direction if (vector.length(movement) < 0.1) then movement_direction = vector.new(0, 0, 0)