Deprecated get_player_velocity -> get_velocity

This commit is contained in:
mazes 80 2022-09-03 16:18:39 +02:00
parent 74b4113b68
commit ac864693a1
1 changed files with 1 additions and 1 deletions

View File

@ -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)