team checks on delete

This commit is contained in:
ntr
2019-06-08 17:10:21 +10:00
parent c2d75a0ce0
commit 02f6dffb4a
3 changed files with 8 additions and 37 deletions
+1
View File
@@ -641,6 +641,7 @@ pub fn instance_new(params: InstanceLobbyParams, tx: &mut Transaction, account:
let mut instance = match params.pve {
true => Instance::new()
.set_time_control(TimeControl::Practice)
.set_max_rounds(10)
.set_name(params.name)?
.add_bots(),