save reattached stations

If you don't add or remove a station, the station that has been reattached, would be lost the next time you relaunch the game.
This commit is contained in:
theFox6 2017-07-04 17:03:51 +02:00 committed by GitHub
parent 121f8f61f2
commit b72cef6401

@ -184,7 +184,7 @@ travelnet.update_formspec = function( pos, puncher_name )
travelnet.targets[ owner_name ][ station_network ][ station_name ] = {pos=pos, timestamp=zeit };
minetest.chat_send_player(owner_name, "Station '"..station_name.."' has been reattached to the network '"..station_network.."'.");
travelnet.save_data();
end