summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorWuzzy <almikes@aol.com>2015-02-08 01:01:03 +0100
committerWuzzy <almikes@aol.com>2015-02-08 01:01:03 +0100
commit22e10bf31ad9ade8a5d5454330ada93d14ee9836 (patch)
tree3dfa464ee2a672f6550bcef1b7d0b4283e1f5299
parentcd93a1e92f9821c34c013aff30f9dcb51a32acbf (diff)
Fix leaked local variable
-rw-r--r--init.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/init.lua b/init.lua
index 7b58ffc..f2fbfa7 100644
--- a/init.lua
+++ b/init.lua
@@ -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