# HG changeset patch # User Farmbuyer of US-Kilrogg # Date 1415465900 18000 # Node ID 5efaeb3ef4b15f2e21d9d46c080aa2e43c906dd9 # Parent 0f503f449e21222761c16bd47cd0353f4b2b49a5 Split out tracking of officer notes from player notes. diff -r 0f503f449e21 -r 5efaeb3ef4b1 gd.lua --- a/gd.lua Wed Nov 05 19:29:22 2014 -0500 +++ b/gd.lua Sat Nov 08 11:58:20 2014 -0500 @@ -239,7 +239,7 @@ rank = SV.fields.rank and rank_as_string or nil, level = SV.fields.level and level or nil, pnote = SV.fields.notes and publicnote or nil, - onote = SV.fields.notes and officernote or nil, + onote = SV.fields.onotes and officernote or nil, }) end end @@ -283,7 +283,8 @@ -- Defaults need to transition from potential older savedvars _G.GuildDeltaSV = { chatframe = _G.GuildDelta_chatframe or DEFAULT_CHAT, - fields = _G.GuildDelta_fields or { rank = true, level = false, notes = true }, + fields = _G.GuildDelta_fields or + { rank = true, level = false, notes = true }, members = _G.GuildDelta_memberdata or {}, --notify_nochange = nil by default --logging = nil by default @@ -296,6 +297,9 @@ SV.green = 26/255 SV.blue = 160/255 end + if SV.fields.onotes == nil then + SV.fields.onotes = SV.fields.notes + end end -- Remove anything that normal operation doesn't need after finishing its work.