Skip to content

Commit

Permalink
new build id stamp
Browse files Browse the repository at this point in the history
  • Loading branch information
DerpleMQ2 committed Jan 1, 2024
1 parent ae38bb4 commit b0529c8
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 5 deletions.
10 changes: 6 additions & 4 deletions init.lua
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
local mq = require('mq')
local ImGui = require('ImGui')
RGMercConfig = require('rgmercs.utils.rgmercs_config')
local mq = require('mq')
local ImGui = require('ImGui')
local GitCommit = require('rgmercs.version')
RGMercConfig = require('rgmercs.utils.rgmercs_config')
RGMercConfig:LoadSettings()

local RGMercsLogger = require("rgmercs.utils.rgmercs_logger")
Expand Down Expand Up @@ -100,6 +101,7 @@ local function RGMercsGUI()
ImGui.PushStyleColor(ImGuiCol.Text, 1.0, 1.0, 1.0, 1)
ImGui.Text(string.format("RGMercs [%s/%s] running for %s (%s)", RGMercConfig._version, RGMercConfig._subVersion, RGMercConfig.Globals.CurLoadedChar,
RGMercConfig.Globals.CurLoadedClass))
ImGui.Text(string.format("Build: %s", GitCommit.commitId or "None"))

if RGMercConfig.Globals.PauseMain then
ImGui.PushStyleColor(ImGuiCol.Button, 0.3, 0.7, 0.3, 1)
Expand All @@ -119,7 +121,7 @@ local function RGMercsGUI()
ImGui.Text("Hater Count: " .. tostring(RGMercUtils.GetXTHaterCount()))
ImGui.Text("AutoTargetID: " .. tostring(RGMercConfig.Globals.AutoTargetID))
ImGui.Text("MA: " .. (RGMercConfig:GetAssistSpawn().CleanName() or "None"))
ImGui.Text("Stuck To: " .. (mq.TLO.Stick.StickTargetName() or "None"))
ImGui.Text("Stuck To: " .. (mq.TLO.Stick.Active() and (mq.TLO.Stick.StickTargetName() or "None") or "None"))
if ImGui.CollapsingHeader("Config Options") then
local newSettings = RGMercConfig:GetSettings()
newSettings, pressed, _ = RGMercUtils.RenderSettings(newSettings, RGMercConfig.DefaultConfig)
Expand Down
2 changes: 1 addition & 1 deletion version.lua
Original file line number Diff line number Diff line change
@@ -1 +1 @@
return { commitId = \'@6c3ebc81bcd959948e2f555700f4842a226140be' }
return { commitId = 'ae38bb4 (cleanup, 2023-12-31)' }

0 comments on commit b0529c8

Please sign in to comment.