From 9898f71860b998d3c700ef73d8fc0e6dbd98d665 Mon Sep 17 00:00:00 2001 From: mazes 80 <> Date: Fri, 16 Sep 2022 04:26:26 +0200 Subject: [PATCH] Deprecated: get_player_velocity --- ca_effects/particles.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ca_effects/particles.lua b/ca_effects/particles.lua index c95fc27..6baab72 100644 --- a/ca_effects/particles.lua +++ b/ca_effects/particles.lua @@ -165,7 +165,7 @@ local function parse_config(player, particles) -- correct spawn coordinates to adjust for player movement if config.adjust_for_velocity then - local velocity = player:get_player_velocity() + local velocity = player:get_velocity() config.minpos = vector.add(config.minpos, velocity) config.maxpos = vector.add(config.maxpos, velocity) end