mirror of
https://github.com/ZDoom/gzdoom.git
synced 2024-11-25 21:41:03 +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
d420b0ab05
commit
6023b69693
1 changed files with 1 additions and 1 deletions
|
@ -280,7 +280,7 @@ class ConversationMenu : Menu
|
|||
|
||||
override void OnDestroy()
|
||||
{
|
||||
mDialogueLines.Destroy();
|
||||
if (mDialogueLines != null) mDialogueLines.Destroy();
|
||||
SetMusicVolume (1);
|
||||
Super.OnDestroy();
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue