fix: polish bark battle creation flow
This commit is contained in:
@@ -26,6 +26,11 @@ export class BarkBattleController {
|
||||
this.restart();
|
||||
}
|
||||
|
||||
updateConfigForActiveRound(config: BarkBattleConfig) {
|
||||
this.config = config;
|
||||
this.detector = this.createDetector();
|
||||
}
|
||||
|
||||
finishNow() {
|
||||
if (this.session.snapshot.phase !== 'playing') {
|
||||
this.session = this.session.startMockRound();
|
||||
|
||||
Reference in New Issue
Block a user