Closed Captions / Subtitles for Vintage Story.
0
fork

Configure Feed

Select the types of activity you want to include in your feed.

Bug fix for priority-pinned captions.

+8
+8
ClosedCaptions/Caption.cs
··· 43 43 // Synchronizes the internal caption list with the currently active sounds. 44 44 public static void SyncCaptions() 45 45 { 46 + // Reset priority to keep high priority sounds from getting pinned to the caption 47 + // beyond the end of their life by lower priority sounds in the same channel. 48 + // TODO: Let's just stash a copy of every active sound into the caption itself. 49 + foreach (var caption in Captions) 50 + { 51 + caption.Priority = 0; 52 + } 53 + 46 54 // Update captions with fresh sound data. 47 55 foreach (var sound in _activeSounds) 48 56 {