Avoid using a table and just use 3 distinct locals for anonymization
This commit is contained in:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user