refactor: fix modname being hard-coded into string.
This commit is contained in:
parent
20b2dfa0c7
commit
8dccef9389
1 changed files with 2 additions and 2 deletions
|
@ -10,7 +10,7 @@ local leaves_decomposing = modname .. ":leaves_decomposing"
|
|||
-- END OF NODE NAMES
|
||||
|
||||
blockgame.register_increasing_abm({
|
||||
id = "bg_tree:begin_decompose",
|
||||
id = modname .. ":begin_decompose",
|
||||
label = "decompose leaves",
|
||||
nodenames = {leaves},
|
||||
neighbors = {"group:dirty"},
|
||||
|
@ -28,7 +28,7 @@ blockgame.register_increasing_abm({
|
|||
})
|
||||
|
||||
blockgame.register_increasing_abm({
|
||||
id = "bg_tree:decompose",
|
||||
id = modname .. ":decompose",
|
||||
label = "decompose leaves",
|
||||
nodenames = {leaves_decomposing},
|
||||
neighbors = {"group:dirty"},
|
||||
|
|
Loading…
Reference in a new issue