bugfix method updateRack into class Rack
parent
9ad0fd5b4e
commit
acd757b978
|
@ -53,7 +53,7 @@ public class Rack {
|
|||
|
||||
Tile tile;
|
||||
|
||||
for (int i = 0; i < 5-this.listRackTile.size() ; i++) {
|
||||
for (int i = 0; i < 5-(this.listRackTile.size()-1) ; i++) {
|
||||
int index = (int)(Math.random()*( ((this.deck.getListTile()).size()-1)-0+1)+0); //(int)(Math.random()*(max-min+1)+min);
|
||||
|
||||
tile = (this.deck.getListTile()).get(index);
|
||||
|
|
Loading…
Reference in New Issue