mirror of
https://repo.or.cz/minetest_playereffects.git
synced 2025-01-09 10:30:17 +01:00
Fix leaked local variable
This commit is contained in:
parent
cd93a1e92f
commit
22e10bf31a
2
init.lua
2
init.lua
@ -72,7 +72,7 @@ end
|
|||||||
|
|
||||||
--[=[ API functions ]=]
|
--[=[ API functions ]=]
|
||||||
function playereffects.register_effect_type(effect_type_id, description, icon, groups, apply, cancel, hidden, cancel_on_death, repeat_interval)
|
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.description = description
|
||||||
effect_type.apply = apply
|
effect_type.apply = apply
|
||||||
effect_type.groups = groups
|
effect_type.groups = groups
|
||||||
|
Loading…
Reference in New Issue
Block a user