Use job index, not database ID

This commit is contained in:
Vortrex
2023-02-21 20:28:37 -06:00
parent e3a0b27c4e
commit a5008bdbf5

View File

@@ -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);
}