set_int(nil) bug fix

This commit is contained in:
Joachim Stolberg 2018-07-26 19:48:57 +02:00
parent f060614582
commit 4b3a5d3e01

@ -124,7 +124,7 @@ minetest.register_node("sl_controller:battery_empty", {
after_place_node = function(pos, placer)
local meta = minetest.get_meta(pos)
meta:set_int("content", nil)
meta:set_int("content", 0)
end,
paramtype = "light",