projects
/
zefram
/
minetest
/
technic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
12d29c2
)
Bugfixes with energy branch.
author
Novatux
<nathanael.courant@laposte.net>
Fri, 6 Sep 2013 16:30:03 +0000
(18:30 +0200)
committer
ShadowNinja
<noreply@gmail.com>
Fri, 4 Oct 2013 14:50:51 +0000
(10:50 -0400)
Conflicts:
technic/machines/switching_station.lua
technic/machines/switching_station.lua
patch
|
blob
|
history
diff --git
a/technic/machines/switching_station.lua
b/technic/machines/switching_station.lua
index 449b4c9bf77d1ade20489c2c724fe1e8b857902d..843006f9444340ddcf44eb96f04670f17326c044 100644
(file)
--- a/
technic/machines/switching_station.lua
+++ b/
technic/machines/switching_station.lua
@@
-30,6
+30,8
@@
technic.DBG = 1
local dprint = technic.dprint
+technic.networks = {}
+
minetest.register_craft({
output = "technic:switching_station",
recipe = {
@@
-184,7
+186,7
@@
minetest.register_abm({
local name = minetest.get_node(pos1).name
local tier = technic.get_cable_tier(name)
if tier then
- PR_nodes,
RE_nodes, BA
_nodes = get_network(pos1, tier)
+ PR_nodes,
BA_nodes, RE
_nodes = get_network(pos1, tier)
else
--dprint("Not connected to a network")
meta:set_string("infotext", "Switching Station - no network")