Skip to content

Commit

Permalink
Version Packages (#551)
Browse files Browse the repository at this point in the history
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
  • Loading branch information
github-actions[bot] and github-actions[bot] authored Apr 18, 2024
1 parent 992d5f1 commit d1b58d0
Show file tree
Hide file tree
Showing 4 changed files with 21 additions and 23 deletions.
12 changes: 0 additions & 12 deletions .changeset/assign-player-after-game-end.md

This file was deleted.

10 changes: 0 additions & 10 deletions .changeset/lobby-fail.md

This file was deleted.

20 changes: 20 additions & 0 deletions lib/@empirica/core/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,25 @@
# @empirica/core

## 1.11.1

### Patch Changes

- 992d5f1: Fix reassign Player to a new Game after they played and finished a first Game.

There were 2 problems:

- the `player.get("ended")` field was not cleared
- the reassignment would not trigger the game to start if the introDone was not
reset (you don't want the player to go through intro steps again), since we
would never get the introDone signal, and just sit there...

- 97c6837: Fix lobby fail strategy and similar straight to exit steps cases.

There was a check for the presence of the `player.game` object in front of the
exit steps. If the game never starts, the `player.game` object is never
created, and the exit steps are never executed. This also addresses the case
where the player is never assigned a game at all (custom assignment).

## 1.11.0

### Minor Changes
Expand Down
2 changes: 1 addition & 1 deletion lib/@empirica/core/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@empirica/core",
"version": "1.11.0",
"version": "1.11.1",
"description": "Empirica Core",
"author": "Nicolas Paton <nicolas.paton@gmail.com>",
"license": "Apache-2.0",
Expand Down

0 comments on commit d1b58d0

Please sign in to comment.