comparison Core.lua @ 137:6dc0e8e9f960 v64

uldir for auto-logging
author yellowfive
date Mon, 03 Sep 2018 19:19:38 -0700
parents a0894ffebd15
children c229c759a125
comparison
equal deleted inserted replaced
136:5f3dde81a118 137:6dc0e8e9f960
104 byDiff[difficultyId] = false 104 byDiff[difficultyId] = false
105 else 105 else
106 hasSomeLogging = true 106 hasSomeLogging = true
107 end 107 end
108 end 108 end
109 end
110
111 for k,v in pairs(Amr.db.profile.Logging.Auto) do
112 if not Amr.IsSupportedInstanceId(k) then
113 Amr.db.profile.Logging.Auto[k] = nil
114 end
109 end 115 end
110 116
111 if hasSomeLogging then 117 if hasSomeLogging then
112 for instanceId, byDiff in pairs(addedLogging) do 118 for instanceId, byDiff in pairs(addedLogging) do
113 for k, difficultyId in pairs(Amr.Difficulties) do 119 for k, difficultyId in pairs(Amr.Difficulties) do