diff --git a/recast.lua b/recast.lua index 9d35874..f4c6acc 100644 --- a/recast.lua +++ b/recast.lua @@ -92,7 +92,7 @@ end ---------------------------------------------------------------------------------------------------- ashita.register_event('load', function() -- Attempt to load the fps configuration.. - recast_config = ashita.settings.load_merged(_addon.path .. 'settings/settings.json', recast_config); + recast_config = ashita.settings.load_merged(_addon.path .. 'settings/' .. AshitaCore:GetDataManager():GetParty():GetMemberName(0) .. '.settings.json', recast_config); -- Create our font object.. local f = AshitaCore:GetFontManager():Create('__recast_addon'); @@ -117,7 +117,7 @@ ashita.register_event('unload', function() recast_config.font.position = { f:GetPositionX(), f:GetPositionY() }; -- Save the configuration.. - ashita.settings.save(_addon.path .. 'settings/settings.json', recast_config); + ashita.settings.save(_addon.path .. 'settings/' .. AshitaCore:GetDataManager():GetParty():GetMemberName(0) .. '.settings.json', recast_config); -- Unload our font object.. AshitaCore:GetFontManager():Delete('__recast_addon');