Skip to content

Commit

Permalink
tweaks:
Browse files Browse the repository at this point in the history
  • Loading branch information
grimmier378 committed Mar 29, 2024
1 parent 4415fac commit 4d50df4
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion init.lua
Expand Up @@ -27,7 +27,7 @@ local flashAlpha = 1
local rise = true
local ShowGUI, locked = true, false
local openConfigGUI = false
local ver = "v1.68"
local ver = "v1.69"
local tPlayerFlags = bit32.bor(ImGuiTableFlags.NoBorders, ImGuiTableFlags.NoBordersInBody, ImGuiTableFlags.NoPadInnerX,
ImGuiTableFlags.NoPadOuterX, ImGuiTableFlags.Resizable, ImGuiTableFlags.SizingFixedFit)

Expand Down Expand Up @@ -308,6 +308,7 @@ local function PlayerTargConf_GUI(open)

if ImGui.Button('close') then
openConfigGUI = false
settings = dofile(configFile)
writeSettings(configFile,settings)
end

Expand Down Expand Up @@ -344,6 +345,7 @@ function GUI_Target(open)
if ImGui.Button(lockedIcon) then
--ImGuiWindowFlags.NoMove
locked = not locked
settings = dofile(configFile)
settings[script].locked = locked
writeSettings(configFile, settings)
end
Expand Down

0 comments on commit 4d50df4

Please sign in to comment.