fix groups for injector

The injector was in no groups, and therefore not breakable by ordinary
means.  This was because the code referred to a defined variable that
went away in the course of a rewrite of the chests code.
This commit is contained in:
Zefram 2014-04-25 23:09:08 +01:00
parent 70fb21ef36
commit 1a94fdc601

View File

@ -58,7 +58,7 @@ minetest.register_node("technic:injector", {
description = S("Injector"), description = S("Injector"),
tiles = {"technic_injector_top.png", "technic_injector_bottom.png", "technic_injector_side.png", tiles = {"technic_injector_top.png", "technic_injector_bottom.png", "technic_injector_side.png",
"technic_injector_side.png", "technic_injector_side.png", "technic_injector_side.png"}, "technic_injector_side.png", "technic_injector_side.png", "technic_injector_side.png"},
groups = chest_groups1, groups = {snappy=2, choppy=2, oddly_breakable_by_hand=2, tubedevice=1},
tube = tubes_properties, tube = tubes_properties,
sounds = default.node_sound_wood_defaults(), sounds = default.node_sound_wood_defaults(),
on_construct = function(pos) on_construct = function(pos)