set team size correctly"

This commit is contained in:
ntr 2018-11-22 18:41:03 +11:00
parent 3b33ac517c
commit e62ba13b54

View File

@ -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);