force eject if vehicle is being towed/lifted

This commit is contained in:
[VB]AWOL
2014-01-22 15:22:37 -06:00
parent 3e8346dec4
commit 0fd1dc0028
2 changed files with 13 additions and 1 deletions

View File

@@ -13,7 +13,7 @@ if (isServer) then {
_this removeAllEventHandlers "GetOut";
_this removeAllEventHandlers "GetIn";
_this addEventHandler ["GetOut", {[(_this select 0),"all"] call server_updateObject;}];
_this addEventHandler ["GetIn", {[(_this select 0),"all"] call server_updateObject;}];
_this addEventHandler ["GetIn", {[(_this select 0),"all"] call server_updateObject; _this call server_checkIfTowed;}];
};
//diag_log(format["%1: all EH reset for %2", __FILE__, _this]);