project_files/Android-build/SDL-android-project/src/org/hedgewars/hedgeroid/EngineProtocol/FrontendDataUtils.java
changeset 6432 ffb18b44415d
parent 6350 41b0a9955c47
child 6436 f1a42ba9cab2
equal deleted inserted replaced
6431:f0a7c5415119 6432:ffb18b44415d
   174 		File[] teamFileNames = teamsDir.listFiles();
   174 		File[] teamFileNames = teamsDir.listFiles();
   175 		if(teamFileNames != null){
   175 		if(teamFileNames != null){
   176 			for(File s : teamFileNames){
   176 			for(File s : teamFileNames){
   177 				Team t = Team.getTeamFromXml(s.getAbsolutePath());
   177 				Team t = Team.getTeamFromXml(s.getAbsolutePath());
   178 				if(t != null){
   178 				if(t != null){
       
   179 					t.file = s.getName();
   179 					ret.add(teamToHashMap(t));
   180 					ret.add(teamToHashMap(t));
   180 				}
   181 				}
   181 			}
   182 			}
   182 		}
   183 		}
   183 		return ret;
   184 		return ret;