add more options in IntegralExpression

This commit is contained in:
Martin Michelsen
2026-06-13 20:07:23 -07:00
parent 554fc5d208
commit 1737d8abc8
13 changed files with 117 additions and 69 deletions
+3 -1
View File
@@ -4735,7 +4735,9 @@ std::shared_ptr<Lobby> create_game_generic(
if (quest_flag_rewrites && !quest_flag_rewrites->empty()) {
IntegralExpression::Env env = {
.flags = &p->quest_flags.array(difficulty),
.section_id = game->effective_section_id(),
.difficulty = game->difficulty,
.flags = &p->quest_flags,
.challenge_records = &p->challenge_records,
.team = creator_c->team(),
.num_players = 1,