Use job index, not database ID
This commit is contained in:
@@ -1540,7 +1540,7 @@ function takeJob(client, jobId) {
|
|||||||
getPlayerCurrentSubAccount(client).jobRank = rankId;
|
getPlayerCurrentSubAccount(client).jobRank = rankId;
|
||||||
getPlayerCurrentSubAccount(client).jobIndex = jobId;
|
getPlayerCurrentSubAccount(client).jobIndex = jobId;
|
||||||
getPlayerCurrentSubAccount(client).jobRankIndex = rankIndex;
|
getPlayerCurrentSubAccount(client).jobRankIndex = rankIndex;
|
||||||
sendPlayerJobType(client, getJobData(jobId).databaseId);
|
sendPlayerJobType(client, jobId);
|
||||||
updateJobBlipsForPlayer(client);
|
updateJobBlipsForPlayer(client);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user