From a5008bdbf528721f867cee5aef25437400d2843c Mon Sep 17 00:00:00 2001 From: Vortrex <3858226+VortrexFTW@users.noreply.github.com> Date: Tue, 21 Feb 2023 20:28:37 -0600 Subject: [PATCH] Use job index, not database ID --- scripts/server/job.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/server/job.js b/scripts/server/job.js index a9d4fbe8..f9692bf4 100644 --- a/scripts/server/job.js +++ b/scripts/server/job.js @@ -1540,7 +1540,7 @@ function takeJob(client, jobId) { getPlayerCurrentSubAccount(client).jobRank = rankId; getPlayerCurrentSubAccount(client).jobIndex = jobId; getPlayerCurrentSubAccount(client).jobRankIndex = rankIndex; - sendPlayerJobType(client, getJobData(jobId).databaseId); + sendPlayerJobType(client, jobId); updateJobBlipsForPlayer(client); }