mirror of
https://github.com/acemod/ACE3.git
synced 2024-08-30 18:23:18 +00:00
fix using efunc vs func
This commit is contained in:
parent
96268b6407
commit
b6c278e7d3
@ -86,7 +86,7 @@ TRACE_1("Player is on foot or in an open vehicle","");
|
||||
|
||||
// Check if player is near a campfires, streetlamps, units with flashlights, vehicles with lights on, etc. - 40m
|
||||
{
|
||||
_lightLevel = _lightLevel max ([_unit, _x] call FUNC(lightIntensityFromObject));
|
||||
_lightLevel = _lightLevel max ([_unit, _x] call EFUNC(common,lightIntensityFromObject));
|
||||
} forEach nearestObjects [_unit, ["All"], 40];
|
||||
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user