mirror of
https://repo.or.cz/minetest_playereffects.git
synced 2025-01-08 10:20:15 +01:00
Fix another leaking variable
This commit is contained in:
parent
3b860c74ae
commit
14612701ab
1
init.lua
1
init.lua
@ -482,6 +482,7 @@ function playereffects.hud_effect(effect_type_id, player, pos, time_left, repeat
|
||||
color = 0xF0BAFF
|
||||
end
|
||||
local description = playereffects.effect_types[effect_type_id].description
|
||||
local text
|
||||
if(repeat_interval_time_left ~= nil) then
|
||||
text = description .. " ("..tostring(time_left).."/"..tostring(repeat_interval_time_left) .. "s )"
|
||||
else
|
||||
|
Loading…
Reference in New Issue
Block a user