We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a7c5f4b commit 8aeccf5Copy full SHA for 8aeccf5
Hvh_Tools.lua
@@ -439,10 +439,18 @@ local function OnCreateMove(userCmd)
439
local Jitter_Max_Real = Jitter_Range_Real1
440
441
--pLocal:GetHitboxes()
442
+
443
+ --auto adds playerlist priority
444
if mAutoPriority:GetValue() then
445
for _, vPlayer in pairs(players) do
446
if vPlayer ~= nil and vPlayer:IsAlive() and vPlayer:GetTeamNumber() ~= pLocal:GetTeamNumber() then
- playerlist.SetPriority(vPlayer, 10)
447
+ if playerlist.GetPriority(vPlayer) == 0 then
448
+ playerlist.SetPriority(vPlayer, 10)
449
+ end
450
+ else
451
+ if playerlist.GetPriority(vPlayer) == 10 then
452
+ playerlist.SetPriority(vPlayer, 0)
453
454
end
455
456
0 commit comments