* Ad Nauseam - Fixed log output of revealed and moved cards.

This commit is contained in:
LevelX2 2014-04-26 18:40:32 +02:00
parent 85572a2372
commit 7e6c1ede2a
2 changed files with 15 additions and 19 deletions

View file

@ -56,10 +56,11 @@ public class Revealed extends HashMap<String, Cards> implements Serializable, Co
}
public void add(String name, Cards cards) {
if (!this.containsKey(name)) {
createRevealed(name);
if (this.containsKey(name)) {
this.get(name).addAll(cards);
} else {
this.put(name, cards.copy());
}
this.put(name, cards.copy());
}
public Cards createRevealed(String name) {