scp-fs2open / scp-fs2open/fs2open.github.com

Discrepancy between debrief_init and multi_standalone_postgame_init

Open
#4,989 1 comment 0 reactions 0 assignees View on GitHub
bug multi
Dominant language
C++
Stars
487
Forks
184
Avg merge
3d 9h
Merged PRs (30d)
44

Description

In `debrief_init`, the function calls `mission_campaign_store_goals_and_events` without storing variables at the time. Later, depending on whether the debriefing is accepted, the game may call `mission_campaign_store_variables`.

In `multi_standalone_postgame_init`, the function calls `mission_campaign_store_goals_and_events_and_variables` which stores all three. This may put the variables into the wrong state.

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.