generated from VLADIMIR/template
add background
This commit is contained in:
@@ -104,6 +104,9 @@ func (a *scenarioArchive) Pack(
|
||||
return nil, err
|
||||
}
|
||||
}
|
||||
if err := addRef(story.Background); err != nil {
|
||||
return nil, err
|
||||
}
|
||||
if story.Introduction != nil {
|
||||
if err := addRef(story.Introduction.Audio); err != nil {
|
||||
return nil, err
|
||||
@@ -146,6 +149,7 @@ func (a *scenarioArchive) Pack(
|
||||
story.Introduction.Audio = rewriteRef(story.Introduction.Audio, archivePathOf)
|
||||
}
|
||||
|
||||
story.Background = rewriteRef(story.Background, archivePathOf)
|
||||
doc := ScenarioJSON{
|
||||
Version: Version,
|
||||
Name: scenario.Name,
|
||||
|
||||
Reference in New Issue
Block a user