Skip to content

Commit c32dbab

Browse files
authored
release v1.6.0 (#102)
* build(MDK): ⬆️ upgrade to 2.10.0 (#97) (#98) * build(MDK): ✨ add revisionator (#99) * feat(chat): 🔨 add Revisionator for patching EMCO * docs(emco): 💡 notate current patch level * docs(readme): 📝 update milestones and dependencies * fix(revisionator): 🐛 target emco by variable rather than name
1 parent ebdbdb4 commit c32dbab

File tree

1 file changed

+11
-11
lines changed

1 file changed

+11
-11
lines changed

prs-chat.lua

+11-11
Original file line numberDiff line numberDiff line change
@@ -61,29 +61,29 @@ function PRSchat.tabs()
6161

6262
emcoRev:addPatch(function()
6363
--- patch for v1.6.0
64-
PRSchatTabs.leftMargin = 2
65-
PRSchatTabs.tabBold = true
66-
PRSchatTabs:setActiveTabFGColor("white")
67-
PRSchatTabs:setinactiveTabFGColor("gray")
68-
PRSchatTabs:enableTimeStamp()
69-
PRSchatTabs:enableCustomTimestampColor()
70-
PRSchatTabs:setTimestampFGColor("dim_gray")
71-
PRSchatTabs:setTimestampBGColor("black")
64+
PRSchat.EMCO.leftMargin = 2
65+
PRSchat.EMCO.tabBold = true
66+
PRSchat.EMCO:setActiveTabFGColor("white")
67+
PRSchat.EMCO:setinactiveTabFGColor("gray")
68+
PRSchat.EMCO:enableTimeStamp()
69+
PRSchat.EMCO:enableCustomTimestampColor()
70+
PRSchat.EMCO:setTimestampFGColor("dim_gray")
71+
PRSchat.EMCO:setTimestampBGColor("black")
7272
end)
7373

7474
local function saver(eventName, packageName)
7575
if eventName == "sysExitEvent" or packageName == "PRS" then
76-
PRSchatTabs:save()
76+
PRSchat.EMCO:save()
7777
end
7878
end
7979

8080
local function loader(eventName, packageName)
8181
if eventName == "sysLoadEvent" or packageName == "PRS" then
82-
PRSchatTabs:load()
82+
PRSchat.EMCO:load()
8383
-- new stuff below here
8484
local changed = emcoRev:migrate()
8585
if changed then -- save the emco changes back to its own save file
86-
PRSchatTabs:save()
86+
PRSchat.EMCO:save()
8787
end
8888
end
8989
end

0 commit comments

Comments
 (0)