set team size correctly"
This commit is contained in:
parent
3b33ac517c
commit
e62ba13b54
@ -667,7 +667,7 @@ pub fn game_pvp(params: GamePvpParams, tx: &mut Transaction, account: &Account)
|
|||||||
game
|
game
|
||||||
.set_pve(false)
|
.set_pve(false)
|
||||||
.set_team_num(2)
|
.set_team_num(2)
|
||||||
.set_team_size(1);
|
.set_team_size(cryps.len());
|
||||||
|
|
||||||
// create the initiators team
|
// create the initiators team
|
||||||
let mut team = Team::new(account.id);
|
let mut team = Team::new(account.id);
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user