generated from VLADIMIR/template
updates
This commit is contained in:
@@ -316,6 +316,7 @@ func (s *server) enrichScreenState(ctx context.Context, session *screen_sessions
|
||||
state.CoverImage = *game.Scenario.Image
|
||||
}
|
||||
if game.Scenario != nil && game.Scenario.Story != nil {
|
||||
state.BackgroundImage = game.Scenario.Story.Background
|
||||
if game.Scenario.Story.Introduction != nil {
|
||||
state.IntroAudio = game.Scenario.Story.Introduction.Audio
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user