mirror of
https://github.com/EpochModTeam/DayZ-Epoch.git
synced 2025-12-13 19:52:38 +03:00
Reveal new vehicle class after upgrade
Fixes not being able to access the vehicle immediately after upgrading.
This commit is contained in:
@@ -129,6 +129,7 @@ if (_IsNearVehicle >= 1) then {
|
|||||||
publicVariableServer "PVDZE_veh_Upgrade";
|
publicVariableServer "PVDZE_veh_Upgrade";
|
||||||
|
|
||||||
cutText [(localize "STR_EPOCH_VEHUP_SUCCESS"), "PLAIN DOWN"];
|
cutText [(localize "STR_EPOCH_VEHUP_SUCCESS"), "PLAIN DOWN"];
|
||||||
|
{player reveal _x;} count (nearestObjects [player,["AllVehicles"],30]);
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
else {
|
else {
|
||||||
@@ -154,4 +155,4 @@ else {
|
|||||||
cutText [(localize "STR_EPOCH_PLAYER_27"), "PLAIN DOWN"];
|
cutText [(localize "STR_EPOCH_PLAYER_27"), "PLAIN DOWN"];
|
||||||
};
|
};
|
||||||
|
|
||||||
DZE_ActionInProgress = false;
|
DZE_ActionInProgress = false;
|
||||||
|
|||||||
Reference in New Issue
Block a user