refactoring

This commit is contained in:
Manuel Simon Hirsig
2016-08-25 01:32:55 +02:00
parent a4e3068557
commit 9adbe7f2ca
11 changed files with 53 additions and 43 deletions
+1 -1
View File
@@ -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