Don't try to update server job blips on IV

This commit is contained in:
Vortrex
2022-06-09 15:35:51 -05:00
parent 1c9fe0d20b
commit 7a2304a84a

View File

@@ -3106,6 +3106,10 @@ function replaceJobRouteStringsInMessage(messageText, jobId, jobRouteId) {
// ===========================================================================
function updateJobBlipsForPlayer(client) {
if (!areServerElementsSupported()) {
return false;
}
for (let i in getServerData().jobs) {
for (let j in getServerData().jobs[i].locations) {
if (getPlayerJob(client) == 0 || getPlayerJob(client) == i) {