[Bug] Order of faction list in GM creation dialog changes after exiting a scenario and starting a new one
Open
Nobody has claimed this yet.
- Dominant language
- Lua
- Stars
- 869
- Forks
- 222
- Avg merge
- 18h 33m
- Merged PRs (30d)
- 1
Description
Steps to reproduce
- Launch a scenario and enter the GM screen.
- Click Create button. Note that the faction list for created entities starts with Independent.
- Exit the GM screen.
- Return to Scenario Selection.
- Select and start a new scenario.
- Enter the GM screen and click the Create button.
Expected behavior
The faction list for created entities is in the same order as the first time, starting with Independent:
Observed behavior
The faction list order flips to put CUF first.
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by reproducing the scenario transition and comparing the faction list in the GM creation dialog before and after starting a new scenario. Trace where the faction list is initialized or reordered during scenario changes. Done means the list consistently starts with Independent after leaving one scenario and starting another.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- lua
- Domain
- game-dev
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 45/100