From 0886eb28edfdb141699e7ccb094262e30cfc35e4 Mon Sep 17 00:00:00 2001 From: Adam Johnson Date: Sat, 18 Mar 2023 16:28:00 -0400 Subject: [PATCH] Don't play the look at KI animation while swimming. --- Scripts/Python/ki/__init__.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/Scripts/Python/ki/__init__.py b/Scripts/Python/ki/__init__.py index baba22be1f..0be2ba97c5 100644 --- a/Scripts/Python/ki/__init__.py +++ b/Scripts/Python/ki/__init__.py @@ -3401,10 +3401,9 @@ def MiniKICreateJournalNote(self): def ShowBigKI(self): self.waitingForAnimation = True - curBrainMode = PtGetLocalAvatar().avatar.getCurrentMode() toggleCB = ptGUIControlCheckBox(KIMini.dialog.getControlFromTag(kGUI.miniToggleBtnID)) toggleCB.disable() - if curBrainMode == PtBrainModes.kNonGeneric: + if PtIsCurrentBrainHuman(): PtDebugPrint("xKI.ShowBigKI(): Entering LookingAtKI mode.", level=kDebugDumpLevel) PtAvatarEnterLookingAtKI() self.isPlayingLookingAtKIMode = True