daid / daid/EmptyEpsilon

[Bug] Order of faction list in GM creation dialog changes after exiting a scenario and starting a new one

Open
#2,672 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Lua
Stars
869
Forks
222
Avg merge
18h 33m
Merged PRs (30d)
1

Description

Steps to reproduce

  1. Launch a scenario and enter the GM screen.
  2. Click Create button. Note that the faction list for created entities starts with Independent.
  3. Exit the GM screen.
  4. Return to Scenario Selection.
  5. Select and start a new scenario.
  6. 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:

Image

Observed behavior

The faction list order flips to put CUF first.

Image

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. 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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.