More global localiztions

This commit is contained in:
ShadowNinja
2013-12-17 19:51:38 -05:00
parent 78cacdcbc6
commit d8437faebc
4 changed files with 28 additions and 27 deletions

View File

@ -60,7 +60,7 @@ minetest.register_abm({
-- Power off automatically if no longer connected to a switching station
technic.switching_station_timeout_count(pos, "MV")
srcstack = inv:get_stack("src", 1)
local srcstack = inv:get_stack("src", 1)
if inv:is_empty("src") or
srcstack:get_wear() == 0 or
srcstack:get_name() == "technic:water_can" or