fixed issue 36

This commit is contained in:
BetaSteward 2010-12-05 03:36:59 +00:00
parent 632775c617
commit 63d1710cb7
3 changed files with 25 additions and 1 deletions

View file

@ -410,7 +410,7 @@ public class GameController implements GameCallback {
private void addCardsForTesting(Game game) {
try {
File f = new File(INIT_FILE_PATH);
Pattern pattern = Pattern.compile("([a-zA-Z]*):([\\w]*):([a-zA-Z ,.!'\\d]*):([\\d]*)");
Pattern pattern = Pattern.compile("([a-zA-Z]*):([\\w]*):([a-zA-Z ,\\-.!'\\d]*):([\\d]*)");
if (!f.exists()) {
logger.warning("Couldn't find init file: " + INIT_FILE_PATH);
return;