From 14e6291b18a748abbc806b9b40b1a53d32567e51 Mon Sep 17 00:00:00 2001 From: theFox6 Date: Wed, 29 May 2019 17:02:43 +0200 Subject: [PATCH] fixed yet another usage of def.steps --- weather/api.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/weather/api.lua b/weather/api.lua index 8f17369..2ef0e5c 100644 --- a/weather/api.lua +++ b/weather/api.lua @@ -100,7 +100,7 @@ local damage_steps = 0 local function handle_damage(damage,player, downfall_origin) if not damage then return end damage_steps = damage_steps +1 - if damage_steps < damage.steps then return end + if damage_steps < damage.time then return end damage_steps = 0 if do_raycasts then -- this check should be more accurate