File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -341,7 +341,7 @@ export class BaseGame<State extends BaseState> {
341341 }
342342 if ( this . meta . players === 'single' || ( Array . isArray ( availableSlots ) && availableSlots . length === 1 ) || availableSlots === 1 ) {
343343 // Join was successful and game is now full
344- if ( this . meta . players === 'single' || this . meta . autostart ) this . start ( ) ;
344+ if ( this . meta . players === 'single' ) this . start ( ) ;
345345 this . onAfterAddPlayer ?.( newPlayer ) ;
346346 this . backup ( ) ;
347347 return { success : true , data : { started : true , as : newPlayer . turn } } ;
Original file line number Diff line number Diff line change @@ -25,7 +25,7 @@ export type Meta = Readonly<
2525
2626 mods ?: Readonly < { list : ModEnum < string > ; data : ModData < string > } > ;
2727
28- /** @default Assume true */
28+ /** Whether the game will only start automatically. */
2929 autostart ?: boolean ;
3030 timer ?: number | false ;
3131 pokeTimer ?: number | false | undefined ;
You can’t perform that action at this time.
0 commit comments