diff -r 3d7ac2b3b703 -r 7f3a391a66fb project_files/Android-build/SDL-android-project/src/org/hedgewars/mobile/EngineProtocol/FrontendDataUtils.java --- a/project_files/Android-build/SDL-android-project/src/org/hedgewars/mobile/EngineProtocol/FrontendDataUtils.java Wed Aug 10 01:22:52 2011 +0200 +++ b/project_files/Android-build/SDL-android-project/src/org/hedgewars/mobile/EngineProtocol/FrontendDataUtils.java Wed Aug 10 01:50:57 2011 +0200 @@ -153,7 +153,7 @@ File teamsDir = new File(c.getFilesDir().getAbsolutePath() + '/' + Team.DIRECTORY_TEAMS); File[] teamFileNames = teamsDir.listFiles(); - if(teamsDir != null){ + if(teamFileNames != null){ for(File s : teamFileNames){ Team t = Team.getTeamFromXml(s.getAbsolutePath()); if(t != null){