diff options
author | Wuzzy <almikes@aol.com> | 2015-02-08 01:01:03 +0100 |
---|---|---|
committer | Wuzzy <almikes@aol.com> | 2015-02-08 01:01:03 +0100 |
commit | 22e10bf31ad9ade8a5d5454330ada93d14ee9836 (patch) | |
tree | 3dfa464ee2a672f6550bcef1b7d0b4283e1f5299 | |
parent | cd93a1e92f9821c34c013aff30f9dcb51a32acbf (diff) |
Fix leaked local variable
-rw-r--r-- | init.lua | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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 |