Re-enable 2D rendering after map switch

This commit is contained in:
Vortrex
2023-02-12 13:11:31 -06:00
parent 82f4d31b3b
commit c168e80258

View File

@@ -1311,6 +1311,11 @@ function playerMapLoaded(client, mapName) {
setTimeout(function () {
processPlayerEnteringExitingProperty(client);
setTimeout(function () {
logToConsole(LOG_DEBUG, `[V.RP.NetEvents] Enabling all rendering states for ${getPlayerDisplayForConsole(client)} since map switch finished`);
setPlayer2DRendering(client, true, true, true, true, true, true);
}, 500);
}, 500);
}