mirror of
https://github.com/EpochModTeam/Epoch.git
synced 2024-08-30 18:22:13 +00:00
lazy evaluation - thx to Senfo
This commit is contained in:
parent
1e64f6702a
commit
f2add15ed9
@ -364,7 +364,7 @@ if !(_playerTempKey isEqualTo "EPOCH_playerTemp") then {
|
|||||||
};
|
};
|
||||||
|
|
||||||
// Check for PlayerMarker and Update or Remove it
|
// Check for PlayerMarker and Update or Remove it
|
||||||
if (_PlayerMarkerEnabled && EPOCH_PlayerMarkerOn && 'ItemGPS' in (assignedItems player)) then {
|
if (_PlayerMarkerEnabled && EPOCH_PlayerMarkerOn && {'ItemGPS' in (assignedItems player)}) then {
|
||||||
if (_PlayerMarkerName in allMapMarkers) then {
|
if (_PlayerMarkerName in allMapMarkers) then {
|
||||||
{
|
{
|
||||||
(_x select 0) setMarkerPosLocal (position player);
|
(_x select 0) setMarkerPosLocal (position player);
|
||||||
|
Loading…
Reference in New Issue
Block a user