mirror of
https://repo.or.cz/minetest_playereffects.git
synced 2025-08-05 01:40:30 +02:00
Fix leaked local variable
This commit is contained in:
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
|
||||||
|
Reference in New Issue
Block a user