Reveal new vehicle class after upgrade

Fixes not being able to access the vehicle immediately after upgrading.
This commit is contained in:
ebaydayz
2016-02-16 14:00:07 -05:00
parent cc426c7e4f
commit 8421ad0394

View File

@@ -129,6 +129,7 @@ if (_IsNearVehicle >= 1) then {
publicVariableServer "PVDZE_veh_Upgrade";
cutText [(localize "STR_EPOCH_VEHUP_SUCCESS"), "PLAIN DOWN"];
{player reveal _x;} count (nearestObjects [player,["AllVehicles"],30]);
};
}
else {
@@ -154,4 +155,4 @@ else {
cutText [(localize "STR_EPOCH_PLAYER_27"), "PLAIN DOWN"];
};
DZE_ActionInProgress = false;
DZE_ActionInProgress = false;