Skip to content

Instantly share code, notes, and snippets.

@wiking-at
Last active April 22, 2016 12:41
Show Gist options
  • Save wiking-at/032c5772bfa2d5b6595e70ec42d8bb1d to your computer and use it in GitHub Desktop.
Save wiking-at/032c5772bfa2d5b6595e70ec42d8bb1d to your computer and use it in GitHub Desktop.
From d3383e110c5ef601024bd17f6f163731bce1918e Mon Sep 17 00:00:00 2001
From: wiking-aj <[email protected]>
Date: Fri, 22 Apr 2016 14:38:52 +0200
Subject: [PATCH] Keyword was renamed
---
client/functions/groupMarkers.sqf | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/client/functions/groupMarkers.sqf b/client/functions/groupMarkers.sqf
index 2e2292d..3b4a296 100644
--- a/client/functions/groupMarkers.sqf
+++ b/client/functions/groupMarkers.sqf
@@ -13,7 +13,7 @@ _groupMembers spawn
while {true} do
{
_groupMembersArray = _groupMembers select 0;
- _mapIcons = difficultyOption "map" > 0;
+ _mapIcons = difficultyOption "mapContent" > 0;
if (count _groupMembersArray > 0) then
{
@@ -58,7 +58,7 @@ _groupMembers spawn
};
_markerColor = format ["Color%1", playerSide];
-_mapIcons = difficultyOption "map" > 0;
+_mapIcons = difficultyOption "mapContent" > 0;
while {true} do
{
--
2.6.1.windows.1
From 9477e585f6493074706d0560fba279f3839abe41 Mon Sep 17 00:00:00 2001
From: wiking-aj <[email protected]>
Date: Fri, 22 Apr 2016 14:18:39 +0200
Subject: [PATCH] fix group map icons
---
client/functions/groupMarkers.sqf | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/client/functions/groupMarkers.sqf b/client/functions/groupMarkers.sqf
index 7e9e445..2e2292d 100644
--- a/client/functions/groupMarkers.sqf
+++ b/client/functions/groupMarkers.sqf
@@ -13,7 +13,7 @@ _groupMembers spawn
while {true} do
{
_groupMembersArray = _groupMembers select 0;
- _mapIcons = difficultyEnabled "map";
+ _mapIcons = difficultyOption "map" > 0;
if (count _groupMembersArray > 0) then
{
@@ -58,7 +58,7 @@ _groupMembers spawn
};
_markerColor = format ["Color%1", playerSide];
-_mapIcons = difficultyEnabled "map";
+_mapIcons = difficultyOption "map" > 0;
while {true} do
{
--
2.6.1.windows.1
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment