Net event rename

This commit is contained in:
Vortrex
2023-03-05 20:44:45 -06:00
parent 07cd95b861
commit 0d9388afa7

View File

@@ -1342,11 +1342,6 @@ 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);
}
@@ -1376,7 +1371,7 @@ function requestPlayerToken(client) {
// ==========================================================================
function sendPayPhoneStateToClient(client, payPhoneIndex, state) {
function sendPayPhoneStateToPlayer(client, payPhoneIndex, state) {
sendNetworkEventToPlayer("v.rp.payPhoneState", client, payPhoneIndex, state);
}