//end stealing from Maps.loadMap(String theFile)
//if (reader.mapLineCount == -1) {reader.countMapSize(fromFile, null);}
reader.countMapSize(new StringReader(randMap), null); //new method
reader.openFile(new StringReader(randMap));//new method
//resume stealing from Maps.loadMap(String theFile)
currentMap = new BasicMap(randMap);
Detonator.INSTANCE.currentMap = currentMap;