mirror of
https://github.com/EpochModTeam/DayZ-Epoch.git
synced 2026-10-04 22:09:34 +03:00
Don't allow loading unconscious player into locked vehicle
This commit is contained in:
1 parent
db3d9bf474
commit
e260d335ce
1 file changed
+1
-1
@@ -149,7 +149,7 @@ if (isPlayer cursorTarget) then {
|
||||
r_player_actions set [count r_player_actions, _action3];
|
||||
};
|
||||
//Load Vehicle
|
||||
if (count _vehClose > 0 && _unconscious) then {
|
||||
if (count _vehClose > 0 && {!locked (_vehClose select 0)} && {_unconscious}) then {
|
||||
r_action = true;
|
||||
_vehicle = _vehClose select 0;
|
||||
_vehType = getText (configFile >> "CfgVehicles" >> typeOf _vehicle >> "displayName");
|
||||
|
||||
Reference in new issue
Block a user