mirror of
https://github.com/Card-Forge/forge.git
synced 2025-11-15 10:18:01 +00:00
Fix so combat arrows appear red again
This commit is contained in:
@@ -207,6 +207,11 @@ public class MatchUtil {
|
||||
game.subscribeToEvents(playbackControl);
|
||||
}
|
||||
|
||||
//ensure opponents set properly
|
||||
for (PlayerView pv : gameViews.get(0).getPlayers()) {
|
||||
pv.setOpponents(gameViews.get(0).getPlayerViews(players.getKey(pv.getId()).getOpponents()));
|
||||
}
|
||||
|
||||
// It's important to run match in a different thread to allow GUI inputs to be invoked from inside game.
|
||||
// Game is set on pause while gui player takes decisions
|
||||
game.getAction().invoke(new Runnable() {
|
||||
|
||||
@@ -367,7 +367,6 @@ public abstract class LocalGameView implements IGameView {
|
||||
view = new PlayerView(p.getLobbyPlayer(), p.getId());
|
||||
MatchUtil.players.put(p, view);
|
||||
getPlayerView(p, view);
|
||||
view.setOpponents(getPlayerViews(p.getOpponents()));
|
||||
}
|
||||
return view;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user