Set correct job blips on player spawn

This commit is contained in:
Vortrex
2022-12-18 15:22:14 -06:00
parent 20f1dcfd0c
commit 8ee1356680

View File

@@ -662,6 +662,8 @@ async function onPlayerSpawn(client) {
resetPlayerBlip(client); resetPlayerBlip(client);
} }
updateJobBlipsForPlayer(client);
// Radio stuff must be last thing sent to client because it hangs the client for a second, which blocks processing of other incoming packets // Radio stuff must be last thing sent to client because it hangs the client for a second, which blocks processing of other incoming packets
// Start playing business/house radio if in one // Start playing business/house radio if in one
if (getPlayerDimension(client) != getGameConfig().mainWorldDimension[getGame()]) { if (getPlayerDimension(client) != getGameConfig().mainWorldDimension[getGame()]) {