Quantcast

Upped TOC version to dragonflight prepatch number. Also fixed a small bug that happened when creating a speech bubble against a target

Christopher Tse [11-17-22 - 08:50]
Upped TOC version to dragonflight prepatch number. Also fixed a small bug that happened when creating a speech bubble against a target
Filename
SpeakerBee.toc
TotalRP3.lua
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;