initiative-sh / initiative.sh

A web-based command line for game masters
https://initiative.sh/
GNU General Public License v3.0
44 stars 4 forks source link

Fix recent content sometimes not being accessible #308

Closed MikkelPaulson closed 1 year ago

MikkelPaulson commented 1 year ago

A change in the VecDeque::as_slices() behaviour violated an unfounded assumption related to loading data from recently generated content. This manifested in a particular flow in the tutorial. Fixed to properly index both returned slices rather than assuming that all relevant elements were contained in the first slice.

Resolves #302.