mirror of
https://github.com/acemod/ACE3.git
synced 2024-08-30 18:23:18 +00:00
Cache the call to determineMapLight
This commit is contained in:
parent
8d0cc787b0
commit
a4ea5fb724
@ -1,8 +1,7 @@
|
||||
#include "script_component.hpp"
|
||||
|
||||
// Calculate the light
|
||||
//_data = [[], FUNC(determineMapLight), missionNamespace, QGVAR(mapLight), 0.1] call EFUNC(common,cachedCall);
|
||||
_data = call FUNC(determineMapLight);
|
||||
_data = [[], FUNC(determineMapLight), missionNamespace, QGVAR(mapLight), 0.1] call EFUNC(common,cachedCall);
|
||||
diag_log _data;
|
||||
_darkMap = _data select 0;
|
||||
_color = _data select 1;
|
||||
|
Loading…
Reference in New Issue
Block a user