brought back the customtext object

This commit is contained in:
Miodec 2022-03-17 20:39:38 +01:00
parent f2e89c3c5d
commit f66d10105c

View file

@ -1318,7 +1318,7 @@ function buildCompletedEvent(difficultyFailed: boolean): CompletedEvent {
} catch (e) {}
completedEvent.tags = activeTagsIds;
delete completedEvent.customText;
if (completedEvent.mode != "custom") delete completedEvent.customText;
return <CompletedEvent>completedEvent;
}