//no clue what this is about. if(((string)exit_map[index][3] != "door")|| ((string)exit_map[index][3] != "gate")) { return locks_in; }