check for null (fixing occasional NPE)

This commit is contained in:
Andy2 2011-07-07 18:08:09 -07:00
parent 2692a8333f
commit 19ba4d8dea

View file

@ -542,7 +542,7 @@ public class GamesList extends XWListActivity
if ( null != relayIDs ) {
for ( String relayID : relayIDs ) {
String path = DBUtils.getPathFor( this, relayID );
if ( GameUtils.gameDictsHere( this, path ) ) {
if ( null != path && GameUtils.gameDictsHere( this, path ) ) {
GameUtils.launchGame( this, path );
break;
}