mirror of
https://github.com/acemod/ACE3.git
synced 2024-08-30 18:23:18 +00:00
Spectator - Remove spectator lights when exiting spectator (#10114)
Remove spectator lights when exiting spectator
This commit is contained in:
parent
66c31928ab
commit
f4272f0e36
@ -132,6 +132,9 @@ if (_init) then {
|
|||||||
GVAR(camDummy) = nil;
|
GVAR(camDummy) = nil;
|
||||||
|
|
||||||
// Stop tracking everything
|
// Stop tracking everything
|
||||||
|
{ deleteVehicle _x; } forEach GVAR(camLights);
|
||||||
|
GVAR(camLights) = nil;
|
||||||
|
|
||||||
GVAR(camMode) = nil;
|
GVAR(camMode) = nil;
|
||||||
GVAR(camVision) = nil;
|
GVAR(camVision) = nil;
|
||||||
GVAR(camFocus) = nil;
|
GVAR(camFocus) = nil;
|
||||||
@ -144,6 +147,5 @@ if (_init) then {
|
|||||||
GVAR(camYaw) = nil;
|
GVAR(camYaw) = nil;
|
||||||
GVAR(camPitch) = nil;
|
GVAR(camPitch) = nil;
|
||||||
GVAR(camSlow) = nil;
|
GVAR(camSlow) = nil;
|
||||||
GVAR(camLights) = nil;
|
|
||||||
GVAR(camLight) = nil;
|
GVAR(camLight) = nil;
|
||||||
};
|
};
|
||||||
|
Loading…
Reference in New Issue
Block a user