mirror of
https://github.com/inf112-v20/Fiasko.git
synced 2025-01-31 23:29:36 +01:00
Byttet så mainDeck bare initialiseres av host
This commit is contained in:
parent
11139cb5f8
commit
6b3e15dcd7
@ -124,7 +124,10 @@ public class RoboRallyGame implements IDrawableGame {
|
||||
initializePlayers();
|
||||
gameBoard = BoardLoaderUtil.loadBoard("boards/Checkmate.txt", robots);
|
||||
generateTileLists();
|
||||
mainDeck = DeckLoaderUtil.loadProgrammingCardsDeck();
|
||||
|
||||
if (host) {
|
||||
mainDeck = DeckLoaderUtil.loadProgrammingCardsDeck();
|
||||
}
|
||||
|
||||
new Thread(() -> {
|
||||
try {
|
||||
|
Loading…
x
Reference in New Issue
Block a user