savedvariables refactoring

This commit is contained in:
Manuel Simon Hirsig
2017-03-18 15:23:52 +01:00
parent 31ec5cbb97
commit 0bfcc98c8c
3 changed files with 6 additions and 6 deletions
+1 -1
View File
@@ -6,7 +6,7 @@ local cache = require 'aux.core.cache'
local persistence = require 'aux.util.persistence'
function LOAD2()
tooltip_settings = persistence.player'tooltip'
tooltip_settings = persistence.character'tooltip'
end
_G.aux_ignore_owner = true
+1 -1
View File
@@ -16,7 +16,7 @@ local UNKNOWN = GRAY_FONT_COLOR_CODE .. '?' .. FONT_COLOR_CODE_CLOSE
local game_tooltip_hooks, game_tooltip_money = {}, 0
function LOAD()
settings = persistence.player('tooltip', {value=true})
settings = persistence.character('tooltip', {value=true})
do
local inside_hook = false
for name, f in game_tooltip_hooks do