Skip to content

Commit

Permalink
== false > not
Browse files Browse the repository at this point in the history
Co-authored-by: Falco Peijnenburg <[email protected]>
  • Loading branch information
Be1zebub and FPtje authored Sep 15, 2024
1 parent d39acb5 commit 0c28f94
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion gamemode/modules/base/cl_jobmodels.lua
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ timer.Simple(0, function()
if v.server and v.server ~= game.GetIPAddress() then continue end

local job = DarkRP.getJobByCommand(v.jobcmd)
if job == nil or jobHasModel(job, v.model) == false then continue end
if job == nil or not jobHasModel(job, v.model) then continue end

preferredModels[v.jobcmd] = v.model
end
Expand Down

0 comments on commit 0c28f94

Please sign in to comment.