Skip to content

Commit

Permalink
Merge branch 'development' of https://github.com/valheimPlus/ValheimPlus
Browse files Browse the repository at this point in the history
 into development
  • Loading branch information
nxPublic committed Mar 1, 2022
2 parents d05a560 + 1d9922a commit 8a00afa
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 9 deletions.
6 changes: 0 additions & 6 deletions ValheimPlus/GameClasses/Version.cs
Original file line number Diff line number Diff line change
Expand Up @@ -14,19 +14,13 @@ public static class Version_GetVersionString_Patch
{
private static void Postfix(ref string __result)
{
Debug.Log($"Version generator started.");
if (Configuration.Current.Server.IsEnabled)
{
if (Configuration.Current.Server.enforceMod)
{
__result = __result + "@" + ValheimPlusPlugin.version;
Debug.Log($"Version generated with enforced mod : {__result}");
}
}
else
{
Debug.Log($"Version generated : {__result}");
}
}
}
}
Expand Down
4 changes: 2 additions & 2 deletions valheim_plus.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -364,7 +364,7 @@ difficultyScaleRange=200
; If you set this to true, all portals will be disabled.
disablePortals=false

; If you set this to false the console will be force disabled in-game.
; If you set this to true the console will be force disabled in-game.
disableConsole=false

;If you set this to true, portal names will be displayed in big text in center of screen.
Expand Down Expand Up @@ -1103,4 +1103,4 @@ defaultWhisperDistance = 4
defaultNormalDistance = 15

; This value determines the range in meters that you can see shout text messages by default.
defaultShoutDistance = 70
defaultShoutDistance = 70
2 changes: 1 addition & 1 deletion vplusconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -672,7 +672,7 @@
"defaultType": "bool"
},
"disableConsole": {
"description": "If you set this to false the console will be force disabled in-game.",
"description": "If you set this to true the console will be force disabled in-game.",
"defaultValue": "false",
"defaultType": "bool"
},
Expand Down

0 comments on commit 8a00afa

Please sign in to comment.