From: Vanessa Ezekowitz Date: Wed, 23 Jul 2014 14:00:13 +0000 (-0400) Subject: don't attempt to force-load blocks if they're already loaded. X-Git-Url: http://81.2.79.47:8989/gitweb/?a=commitdiff_plain;h=29c7ff5228864bcf5456f391b122c9eb477c754b;p=zefram%2Fminetest%2Ftechnic.git don't attempt to force-load blocks if they're already loaded. --- diff --git a/technic/machines/switching_station.lua b/technic/machines/switching_station.lua index 0040f13..6b59277 100644 --- a/technic/machines/switching_station.lua +++ b/technic/machines/switching_station.lua @@ -80,6 +80,7 @@ local add_new_cable_node = function(nodes, pos) end local load_position = function(pos) + if minetest.get_node_or_nil(pos) then return end local vm = VoxelManip() local MinEdge, MaxEdge = vm:read_from_map(pos, pos) end