Skip to content

Commit

Permalink
Fix a bug that VidInit was not called for SubtitlePanel and ChatDialog
Browse files Browse the repository at this point in the history
  • Loading branch information
hzqst committed Sep 10, 2022
1 parent 18ffa5b commit bcc6acf
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions Plugins/CaptionMod/Viewport.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -857,6 +857,8 @@ void CViewport::VidInit(void)
LoadBaseDictionary();
LinkDictionary();

m_pChatDialog->VidInit();
m_pSubtitlePanel->VidInit();
m_HudMessage.VidInit();
m_HudMenu.VidInit();
}
Expand Down

0 comments on commit bcc6acf

Please sign in to comment.