removed 2 more calls to getMatch from Singletons

This commit is contained in:
Maxmtg
2013-05-22 21:31:00 +00:00
parent 1268ed7249
commit 58aa4aef55
2 changed files with 2 additions and 2 deletions

View File

@@ -36,6 +36,6 @@ public class AiInputBlock extends InputBase {
game.getPhaseHandler().setPlayersPriorityPermission(false); game.getPhaseHandler().setPlayersPriorityPermission(false);
// was not added to stack, so will be replaced by plain update // was not added to stack, so will be replaced by plain update
Singletons.getControl().getMatch().getCurrentGame().getInputQueue().updateObservers(); game.getInputQueue().updateObservers();
} }
} }

View File

@@ -149,7 +149,7 @@ public enum CDock implements ICDoc {
* View deck list. * View deck list.
*/ */
private void viewDeckList() { private void viewDeckList() {
showDeck(Singletons.getControl().getMatch().getPlayersDeck(player.getLobbyPlayer())); showDeck(player.getGame().getMatch().getPlayersDeck(player.getLobbyPlayer()));
} }
/** /**