From 95e4de65622160b016fcab49d9b5713b1ef2a8d7 Mon Sep 17 00:00:00 2001 From: Christopher Tse Date: Thu, 17 Nov 2022 19:50:49 +1100 Subject: [PATCH] Upped TOC version to dragonflight prepatch number. Also fixed a small bug that happened when creating a speech bubble against a target --- SpeakerBee.toc | 2 +- TotalRP3.lua | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/SpeakerBee.toc b/SpeakerBee.toc index 0b83ec5..0f40305 100644 --- a/SpeakerBee.toc +++ b/SpeakerBee.toc @@ -1,7 +1,7 @@ ## Title: Speaker Bee ## Version: 1.0 ## Author: Christopher Tse -## Interface: 100000 +## Interface: 100002 ## OptionalDeps: totalRP3 ## SavedVariablesPerCharacter: settings diff --git a/TotalRP3.lua b/TotalRP3.lua index b15e413..84ef7e8 100644 --- a/TotalRP3.lua +++ b/TotalRP3.lua @@ -196,6 +196,7 @@ end --Basically a straight port of target_frame.lua's onTargetChanged() function getTargetId() + local getUnitID = TRP3_API.utils.str.getUnitID; local getTargetType, getCompanionFullID = TRP3_API.ui.misc.getTargetType, TRP3_API.ui.misc.getCompanionFullID; local TYPE_CHARACTER = TRP3_API.ui.misc.TYPE_CHARACTER; local TYPE_PET = TRP3_API.ui.misc.TYPE_PET; -- 1.7.9.5