BassNoteC#, on 03 January 2013 - 12:14 PM, said:
for (int i = 0; i > currentLocation.Exits.Length; i++)
This is supposed to be:
for (int i = 0; i < currentLocation.Exits.Length; i++)
0 will never be greater than the number of exits thus you will never add the exits to the combobox. Trying to set the selectedindex of an empty combobox causes the exception.