module refactoring

This commit is contained in:
Manuel Simon Hirsig
2016-10-14 01:55:38 +02:00
parent 2660b44861
commit cc7139c0e2
30 changed files with 326 additions and 343 deletions
+2 -2
View File
@@ -3,11 +3,11 @@ module 'aux.util.persistence'
include 'green_t'
include 'aux'
aux_datasets = t
_G.aux_datasets = t
do
local dataset
function public.dataset.get()
function public.get_dataset()
if not dataset then
local dataset_key = format('%s|%s', GetCVar'realmName', UnitFactionGroup'player')
dataset = aux_datasets[dataset_key] or t