From 67c44ab21041e53ad69e4ec94fca94ae7e8d1a97 Mon Sep 17 00:00:00 2001 From: Sokomine Date: Sat, 9 Mar 2019 21:11:42 +0100 Subject: [PATCH] fixed bug with attaching travelnets to networks owned by others --- init.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/init.lua b/init.lua index 2302385..0399fbd 100644 --- a/init.lua +++ b/init.lua @@ -707,7 +707,7 @@ travelnet.on_receive_fields = function(pos, formname, fields, player) -- if the box has not been configured yet if( meta:get_string("station_network")=="" ) then - travelnet.add_target( fields.station_name, fields.station_network, pos, name, meta, fields.owner_name ); + travelnet.add_target( fields.station_name, fields.station_network, pos, name, meta, fields.owner ); return; end