May I ask - where in the code is the routine for checking whether power lines should be connected to each other based on whether they are owned by the same player? I am having trouble finding this, and need to fix a bug in Experimental whereby the public player cannot connect to other players' networks.
			
			
			
				Everything to do with powerlines is in Dings/leitung and dataobj/powernet from memory.
			
			
			
				the checks for building powerlines are in  wegbauer_t::is_allowed_step
			
			
			
				Thank you.