Map - Update map lighting effect every frame (#9349)

Map - Update lighting effect every frame
This commit is contained in:
PabstMirror 2023-08-29 10:32:44 -05:00 committed by GitHub
parent 528539210e
commit e6a8222966
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -21,7 +21,7 @@ private _mapCentre = _mapCtrl ctrlMapScreenToWorld [0.5, 0.5];
if (GVAR(mapIllumination)) then {
//get nearby lighting
private _light = [[ACE_player], FUNC(determineMapLight), missionNamespace, QGVAR(mapLight), 0.1] call EFUNC(common,cachedCall);
private _light = [ACE_player] call FUNC(determineMapLight);
_light params ["_applyLighting", "_lightLevel"];