Added 'player kept N cards' to log

InputSyncronizedBase - just a comment
This commit is contained in:
Maxmtg
2013-05-26 19:15:56 +00:00
parent 934d2af59c
commit f8fb5fef22
2 changed files with 3 additions and 0 deletions

View File

@@ -32,6 +32,7 @@ public abstract class InputSyncronizedBase extends InputBase implements InputSyn
FThreads.invokeInNewThread(new Runnable() {
@Override
public void run() {
// this will update input proxy, so there might be anything happening in the thread
getQueue().removeInput(InputSyncronizedBase.this);
cdlDone.countDown();
}

View File

@@ -39,6 +39,7 @@ import forge.Command;
import forge.CounterType;
import forge.FThreads;
import forge.GameEntity;
import forge.GameEventType;
import forge.card.CardType;
import forge.card.TriggerReplacementBase;
import forge.card.ability.AbilityFactory;
@@ -1519,6 +1520,7 @@ public class GameAction {
p.onMulliganned();
} else {
game.getGameLog().add(GameEventType.MULLIGAN, p.getName() + " has kept a hand of " + p.getZone(ZoneType.Hand).size() + " cards");
whoCanMulligan.remove(i--);
}
}