mirror of
https://github.com/Card-Forge/forge.git
synced 2025-11-18 11:48:02 +00:00
removed 2 more calls to getMatch from Singletons
This commit is contained in:
@@ -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();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -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()));
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|||||||
Reference in New Issue
Block a user