BUG: SetTypewriterSpeed Method in StandardUISubtitleControls
Posted: Wed Mar 27, 2024 1:46 am
v 2.2.44.1
The SetTypewriterSpeed method at Scripts\UI\Standard\Dialogue\StandardUISubtitleControls.cs Line: 817 seems to be improperly implemented. The current method is as follows:
The SetTypewriterSpeed method at Scripts\UI\Standard\Dialogue\StandardUISubtitleControls.cs Line: 817 seems to be improperly implemented. The current method is as follows:
Code: Select all
public virtual void SetTypewriterSpeed(float charactersPerSecond)
{
for (int i = 0; i < m_builtinPanels.Count; i++)
{
if (m_builtinPanels[i] != null) TypewriterUtility.GetTypewriterSpeed(m_builtinPanels[i].subtitleText);
}
if (m_defaultNPCPanel != null && !m_builtinPanels.Contains(m_defaultNPCPanel)) TypewriterUtility.GetTypewriterSpeed(m_defaultNPCPanel.subtitleText);
if (m_defaultPCPanel != null && !m_builtinPanels.Contains(m_defaultPCPanel)) TypewriterUtility.GetTypewriterSpeed(m_defaultPCPanel.subtitleText);
}