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