mirror of
https://github.com/Card-Forge/forge.git
synced 2025-11-17 11:18:01 +00:00
Merge branch 'multiplayer' into 'master'
Multiplayer See merge request core-developers/forge!207
This commit is contained in:
@@ -194,6 +194,7 @@ public class PlayerPanel extends FPanel {
|
||||
txtPlayerName.setEnabled(mayEdit);
|
||||
txtPlayerName.setText(type == LobbySlotType.OPEN ? StringUtils.EMPTY : playerName);
|
||||
nameRandomiser.setEnabled(mayEdit);
|
||||
teamComboBox.setEnabled(mayEdit);
|
||||
deckLabel.setVisible(mayEdit);
|
||||
deckBtn.setVisible(mayEdit);
|
||||
chkReady.setVisible(type == LobbySlotType.LOCAL || type == LobbySlotType.REMOTE);
|
||||
|
||||
@@ -86,9 +86,11 @@ public enum CSubmenuOnlineLobby implements ICDoc, IMenuProvider {
|
||||
@Override
|
||||
public void run() {
|
||||
SOverlayUtils.hideOverlay();
|
||||
FNetOverlay.SINGLETON_INSTANCE.show(result);
|
||||
if (CHomeUI.SINGLETON_INSTANCE.getCurrentDocID() == EDocID.HOME_NETWORK) {
|
||||
VSubmenuOnlineLobby.SINGLETON_INSTANCE.populate();
|
||||
if (result instanceof ChatMessage) {
|
||||
FNetOverlay.SINGLETON_INSTANCE.show(result);
|
||||
if (CHomeUI.SINGLETON_INSTANCE.getCurrentDocID() == EDocID.HOME_NETWORK) {
|
||||
VSubmenuOnlineLobby.SINGLETON_INSTANCE.populate();
|
||||
}
|
||||
}
|
||||
}
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user