From 65515848efd917deae411fa85259e5316c152fd6 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Luis=20Miguel=20Iglesias=20S=C3=A1nchez?= Date: Sun, 3 Jul 2022 08:02:36 +0200 Subject: [PATCH] Fixed replay OOS by moving victory event to synced event (#6676) --- changelog.md | 2 ++ .../scenarios/08_Out_of_the_Frying_Pan.cfg | 16 ++++++++++------ 2 files changed, 12 insertions(+), 6 deletions(-) diff --git a/changelog.md b/changelog.md index 4b3937abfa1..7abaaf33aa6 100644 --- a/changelog.md +++ b/changelog.md @@ -2,6 +2,8 @@ ### Add-ons client ### Add-ons server ### Campaigns + * Under the Burning Suns + * S8: Fixed replay OOS on victory event (issue #6267) * World Conquest * Fixed Bezoar artifact being bugged and broken. ### Editor diff --git a/data/campaigns/Under_the_Burning_Suns/scenarios/08_Out_of_the_Frying_Pan.cfg b/data/campaigns/Under_the_Burning_Suns/scenarios/08_Out_of_the_Frying_Pan.cfg index bd2722e77c8..97f60944a58 100644 --- a/data/campaigns/Under_the_Burning_Suns/scenarios/08_Out_of_the_Frying_Pan.cfg +++ b/data/campaigns/Under_the_Burning_Suns/scenarios/08_Out_of_the_Frying_Pan.cfg @@ -4248,11 +4248,9 @@ message= _ "Good, until then we’ll settle around that oasis and set up as good a defense as we can. Until I know what’s out there, I’m not taking any chances." [/message] - [endlevel] - result=victory - bonus=yes - {NEW_GOLD_CARRYOVER 40} - [/endlevel] + [fire_event] + name=victory_event + [/fire_event] [/event] # Flooding algorithm @@ -4475,7 +4473,7 @@ #victory event [event] - name=victory + name=victory_event # reveal map in-between starting valley and location elves move to [remove_shroud] @@ -4736,6 +4734,12 @@ {CLEAR_VARIABLE healing_rune1,healing_rune2} {CLEAR_VARIABLE messenger_timer,messengers_incoming} + + [endlevel] + result=victory + bonus=yes + {NEW_GOLD_CARRYOVER 40} + [/endlevel] [/event] # set time for all underground areas to be always night/underground