fix: improve performance and safety with null checks and talent rank caching

This commit is contained in:
Bluewhale1337
2026-10-04 17:54:00 +02:00
parent 526a4f1b9b
commit 2a0d607bcd
5 changed files with 23 additions and 22 deletions
+1
View File
@@ -271,6 +271,7 @@ end
-- HealBot_FindUnitID: Finds a unit token for a given player name.
function HealBot_FindUnitID(unitname)
if not unitname then return nil end
return HealBot_NameToUnitID[unitname]
end