add a null check

This commit is contained in:
Mister_Nebula 2021-09-15 17:10:09 +01:00
parent 1e82521b54
commit 4b50a5ca89

View File

@ -39,7 +39,7 @@ namespace QSB.Animation.NPC.Patches
Animator ____animator,
CharacterDialogueTree ____dialogueTree)
{
if (!WorldObjectManager.AllReady)
if (!WorldObjectManager.AllReady || ConversationManager.Instance == null)
{
return false;
}