Skip to content

Commit

Permalink
Fix var name
Browse files Browse the repository at this point in the history
  • Loading branch information
yzyii committed Oct 17, 2024
1 parent 9d8861e commit 29da162
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions common/gcincluderag.lua
Original file line number Diff line number Diff line change
Expand Up @@ -195,11 +195,11 @@ function gcinclude.DoCommands(args)
gcinclude.UnlockNonWeapon()
else
AshitaCore:GetChatManager():QueueCommand(-1, '/lac enable all')
if (not NoTPLockJobs:contains(player.MainJob)) then gcdisplay.CreateToggle('LockTP', false) end
if (not isMage:contains(player.MainJob)) then gcdisplay.CreateToggle('LockTP', false) end
end
else
AshitaCore:GetChatManager():QueueCommand(-1, '/lac disable all')
if (not NoTPLockJobs:contains(player.MainJob)) then gcdisplay.CreateToggle('LockTP', false) end
if (not isMage:contains(player.MainJob)) then gcdisplay.CreateToggle('LockTP', false) end
end
elseif (args[1] == 'locktp') then
gcdisplay.AdvanceToggle('LockTP')
Expand Down

0 comments on commit 29da162

Please sign in to comment.