mirror of
https://github.com/ZDoom/gzdoom-gles.git
synced 2025-04-22 15:47:19 +00:00
- added null check to the dialogue lines array so that it doesn't crash if the text is never word wrapped.
This commit is contained in:
parent
fd4473d7d2
commit
d4a71e3d20
1 changed files with 1 additions and 1 deletions
|
@ -250,7 +250,7 @@ class ConversationMenu : Menu
|
|||
|
||||
override void OnDestroy()
|
||||
{
|
||||
mDialogueLines.Destroy();
|
||||
if (mDialogueLines != null) mDialogueLines.Destroy();
|
||||
SetMusicVolume (1);
|
||||
Super.OnDestroy();
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue