Fixes for interior scene change
This commit is contained in:
@@ -565,13 +565,6 @@ function processPlayerEnteringExitingProperty(client) {
|
|||||||
fadePlayerCamera(client, true, 1000);
|
fadePlayerCamera(client, true, 1000);
|
||||||
}
|
}
|
||||||
updateInteriorLightsForPlayer(client, propertyData.interiorLights);
|
updateInteriorLightsForPlayer(client, propertyData.interiorLights);
|
||||||
}, 1000);
|
|
||||||
|
|
||||||
if (getPlayerData(client).enteringExitingProperty[0] == V_PROPERTY_TYPE_BUSINESS) {
|
|
||||||
if (propertyData.type == V_BIZ_TYPE_PAINTBALL) {
|
|
||||||
startPaintBall(client);
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
let radioStationIndex = propertyData.streamingRadioStationIndex;
|
let radioStationIndex = propertyData.streamingRadioStationIndex;
|
||||||
if (radioStationIndex != -1) {
|
if (radioStationIndex != -1) {
|
||||||
@@ -580,6 +573,13 @@ function processPlayerEnteringExitingProperty(client) {
|
|||||||
getPlayerData(client).streamingRadioStation = radioStationIndex;
|
getPlayerData(client).streamingRadioStation = radioStationIndex;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
}, 1000);
|
||||||
|
|
||||||
|
if (getPlayerData(client).enteringExitingProperty[0] == V_PROPERTY_TYPE_BUSINESS) {
|
||||||
|
if (propertyData.type == V_BIZ_TYPE_PAINTBALL) {
|
||||||
|
startPaintBall(client);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
getPlayerData(client).inProperty = [getPlayerData(client).enteringExitingProperty[0], getPlayerData(client).enteringExitingProperty[1]];
|
getPlayerData(client).inProperty = [getPlayerData(client).enteringExitingProperty[0], getPlayerData(client).enteringExitingProperty[1]];
|
||||||
getPlayerData(client).enteringExitingProperty = null;
|
getPlayerData(client).enteringExitingProperty = null;
|
||||||
|
|||||||
Reference in New Issue
Block a user