Skip to content

Commit

Permalink
- Added ability to only break your own camp to pull window.
Browse files Browse the repository at this point in the history
  • Loading branch information
DerpleMQ2 committed Mar 10, 2024
1 parent 6541a17 commit 44b4ae9
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 1 deletion.
2 changes: 1 addition & 1 deletion extras/version.lua
Original file line number Diff line number Diff line change
@@ -1 +1 @@
return { commitId = 'f2ccd07 2024-03-10' }
return { commitId = '6541a17 2024-03-10' }
10 changes: 10 additions & 0 deletions modules/pull.lua
Original file line number Diff line number Diff line change
Expand Up @@ -403,6 +403,16 @@ function Module:Render()
RGMercUtils.DoGroupCmd("/rgl campon")
end
end
ImGui.SameLine()
if campData.returnToCamp then
if ImGui.Button("Break My Camp", ImGui.GetWindowWidth() * .3, 18) then
RGMercUtils.DoCmd("/rgl campoff")
end
else
if ImGui.Button("Set My Camp Here", ImGui.GetWindowWidth() * .3, 18) then
RGMercUtils.DoCmd("/rgl campon")
end
end
ImGui.PopStyleVar(1)

self.settings.PullMode, pressed = ImGui.Combo("Pull Mode", self.settings.PullMode, self.Constants.PullModes, #self.Constants.PullModes)
Expand Down

0 comments on commit 44b4ae9

Please sign in to comment.