mirror of
https://github.com/acemod/ACE3.git
synced 2024-08-30 18:23:18 +00:00
some fixes for MP
This commit is contained in:
parent
6d868d1bd1
commit
5f39cf213b
@ -26,7 +26,7 @@ _exceptions = [_exceptions, {toLower _this}] call FUNC(map);
|
|||||||
private "_owner";
|
private "_owner";
|
||||||
_owner = _target getVariable [QGVAR(owner), objNull];
|
_owner = _target getVariable [QGVAR(owner), objNull];
|
||||||
|
|
||||||
if (!isNull _owner && {_unit != _owner} && {!([_owner] call FUNC(isPlayer))}) exitWith {false};
|
if (!isNull _owner && {_unit != _owner}) exitWith {false};
|
||||||
|
|
||||||
// check general conditions
|
// check general conditions
|
||||||
|
|
||||||
|
@ -1,5 +1,4 @@
|
|||||||
// by PabstMirror, commy2
|
// by PabstMirror, commy2
|
||||||
|
|
||||||
#include "script_component.hpp"
|
#include "script_component.hpp"
|
||||||
|
|
||||||
GVAR(currentHeightChange) = 0;
|
GVAR(currentHeightChange) = 0;
|
||||||
|
@ -37,7 +37,6 @@ if (_inBuilding) then {
|
|||||||
_target setPosASL (getPosASL _target vectorAdd [0, 0, 0.05]);
|
_target setPosASL (getPosASL _target vectorAdd [0, 0, 0.05]);
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
||||||
_unit setVariable [QGVAR(isDragging), false, true];
|
_unit setVariable [QGVAR(isDragging), false, true];
|
||||||
_unit setVariable [QGVAR(draggedObject), objNull, true];
|
_unit setVariable [QGVAR(draggedObject), objNull, true];
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user