summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorWuzzy <almikes@aol.com>2015-02-08 01:14:09 +0100
committerWuzzy <almikes@aol.com>2015-02-08 01:14:09 +0100
commit14612701ab5bf14995fa6bdca254f8e830d53184 (patch)
tree948b3d63079256a085709af052e73adb2e9283a0
parent3b860c74ae9803f9a979b12c6f6beb74f96ae62c (diff)
Fix another leaking variable
-rw-r--r--init.lua1
1 files changed, 1 insertions, 0 deletions
diff --git a/init.lua b/init.lua
index f2fbfa7..19f3d6f 100644
--- a/init.lua
+++ b/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