mirror of
https://github.com/Card-Forge/forge.git
synced 2025-11-15 02:08:00 +00:00
Fix uncleared selectables when a player concedes and restarts next game
This commit is contained in:
@@ -966,6 +966,7 @@ public final class CMatchUI
|
|||||||
players = new FCollection<>(new PlayerView[]{players.get(1), players.get(0)});
|
players = new FCollection<>(new PlayerView[]{players.get(1), players.get(0)});
|
||||||
}
|
}
|
||||||
initMatch(players, myPlayers);
|
initMatch(players, myPlayers);
|
||||||
|
clearSelectables(); //fix uncleared selection
|
||||||
|
|
||||||
actuateMatchPreferences();
|
actuateMatchPreferences();
|
||||||
|
|
||||||
|
|||||||
@@ -147,6 +147,7 @@ public class MatchController extends AbstractGuiGame {
|
|||||||
}
|
}
|
||||||
view = new MatchScreen(playerPanels);
|
view = new MatchScreen(playerPanels);
|
||||||
view.resetFields();
|
view.resetFields();
|
||||||
|
clearSelectables(); //fix uncleared selection
|
||||||
|
|
||||||
if (noHumans) {
|
if (noHumans) {
|
||||||
//add special object that pauses game if screen touched
|
//add special object that pauses game if screen touched
|
||||||
|
|||||||
Reference in New Issue
Block a user