Skip to content

Shotgun no longer allows you to take a second shot. #58

@Half-Shot

Description

@Half-Shot

The round contines to tick but all movement is frozen. State was FiredWaitingForNextShot

Likely something not firing in

if (hasMoreShots) {
this.state.transition(InnerWormState.FiringWaitingForNextShot);
const sub = combineLatest([
timer(1500),
this.gameWorld.entitiesMoving$,
]).subscribe(([timer, entitiesMoving]) => {
logger.info("hasMoreShots", timer, entitiesMoving);
if (timer === 0 && !entitiesMoving) {
if (this.state.state === InnerWormState.FiringWaitingForNextShot) {
this.state.transition(InnerWormState.Idle);
sub.unsubscribe();
}
}
});

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions