Avoid using a table and just use 3 distinct locals for anonymization

This commit is contained in:
Flamanis
2024-07-07 06:03:36 -05:00
committed by andrew6180
parent 2ac0e710b1
commit f53e6ff8cd
+4 -2
View File
@@ -494,9 +494,11 @@ function Details:CreateEventTrackerFrame(parentObject, name)
return name
end
local guid_table = {string.split('-', guid)}
-- Example GUID: Player-0301-0D23FC41
-- We only care about the last part
local _,_, guid_end = string.split('-', guid)
return guid_table[#guid_table]
return guid_end
end
local add_role_and_class_color = function(unitName, unitSerial)