refactoring
This commit is contained in:
@@ -4,7 +4,7 @@ _G.aux_datasets = t
|
||||
|
||||
do
|
||||
local dataset
|
||||
function public.accessor.dataset()
|
||||
function public.dataset.get()
|
||||
if not dataset then
|
||||
local dataset_key = format('%s|%s', GetCVar 'realmName', UnitFactionGroup 'player')
|
||||
dataset = _G.aux_datasets[dataset_key] or t
|
||||
|
||||
Reference in New Issue
Block a user