mirror of
https://repo.or.cz/minetest_playereffects.git
synced 2025-01-08 10:20:15 +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 ]=]
|
||||
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
|
||||
|
Loading…
Reference in New Issue
Block a user