Skip to content

Commit

Permalink
Minor logic adjustment and reset of README.md to vanilla
Browse files Browse the repository at this point in the history
  • Loading branch information
nxPublic committed Feb 14, 2021
1 parent b9ad20f commit 4cf57f1
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 5 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -142,7 +142,7 @@ disableServerPassword=false
; (boolean) default is false

[Map]
enabled=true
enabled=false
; enable/disable Map changes

exploreRadius=100
Expand Down
8 changes: 6 additions & 2 deletions ValheimPlus/Class1.cs
Original file line number Diff line number Diff line change
Expand Up @@ -385,10 +385,14 @@ private static void Prefix(ref float dt, ref Player player,ref Minimap __instanc
hookExplore.call_Explore(__instance, m_Player.m_position, exploreRadius);
}
}
// Always reveal for your own, we do this non the less to apply the potentially bigger exploreRadius
hookExplore.call_Explore(__instance, player.transform.position, exploreRadius);

}
}
if(Config["Map"]["enabled"] == "true")
{
// Always reveal for your own, we do this non the less to apply the potentially bigger exploreRadius
hookExplore.call_Explore(__instance, player.transform.position, exploreRadius);
}
}
}

Expand Down
4 changes: 2 additions & 2 deletions valheim_plus.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -104,13 +104,13 @@ disableServerPassword=false
; (boolean) default is false

[Map]
enabled=true
enabled=false
; enable/disable Map changes

exploreRadius=100
; default 100 (float), the radius around each player that get explored

shareMapProgression=true
shareMapProgression=false
; default false (boolean), shares the map progress (reveal) across all players
; players need to be online to receive map progression
; only shares the map progression of people that have selected to be visible on the map
Expand Down

0 comments on commit 4cf57f1

Please sign in to comment.