Use partial_range to search netgame list
Reduce scope of for variables