Fix leaked local variable

This commit is contained in:
Wuzzy 2015-02-08 01:01:03 +01:00
parent cd93a1e92f
commit 22e10bf31a
1 changed files with 1 additions and 1 deletions

View File

@ -72,7 +72,7 @@ end
--[=[ API functions ]=]
function playereffects.register_effect_type(effect_type_id, description, icon, groups, apply, cancel, hidden, cancel_on_death, repeat_interval)
effect_type = {}
local effect_type = {}
effect_type.description = description
effect_type.apply = apply
effect_type.groups = groups