mirror of
https://github.com/acemod/ACE3.git
synced 2024-08-30 18:23:18 +00:00
Fix not hidden
This commit is contained in:
parent
4a5f056d71
commit
573bfbb92d
@ -28,7 +28,7 @@ private _clone = createVehicle [QGVAR(clone), _posATL];
|
||||
// Hide unit until it can be moved below terrain
|
||||
private _isObjectHidden = isObjectHidden _target;
|
||||
|
||||
if (_isObjectHidden) then {
|
||||
if (!_isObjectHidden) then {
|
||||
[QEGVAR(common,hideObjectGlobal), [_target, true]] call CBA_fnc_serverEvent;
|
||||
};
|
||||
|
||||
|
@ -43,7 +43,7 @@ if (!isNull _target) then {
|
||||
[{
|
||||
params ["_target", "_clone", "_isObjectHidden", "_simulationEnabled"];
|
||||
|
||||
if (_isObjectHidden) then {
|
||||
if (!_isObjectHidden) then {
|
||||
[QEGVAR(common,hideObjectGlobal), [_target, false]] call CBA_fnc_serverEvent;
|
||||
};
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user