lifting fixes

This commit is contained in:
[VB]AWOL
2014-01-22 18:07:26 -06:00
parent 44c1b62bde
commit 63ee278e82
5 changed files with 14 additions and 5 deletions

View File

@@ -187,7 +187,10 @@ server_checkIfTowed = {
_player = _this select 2;
_attached = _vehicle getVariable["attached",false];
if ((typeName _attached == "OBJECT")) then {
_player action [ "eject", _vehicle)];
_player action ["eject", _vehicle];
detach _vehicle;
_vehicle setVariable["attached",false,true];
_attached setVariable["hasAttached",false,true];
};
};
};