Skip to content

Commit

Permalink
Merge pull request #678 from MSchmoecker/development
Browse files Browse the repository at this point in the history
Removed version debug logs @MSchmoecker
  • Loading branch information
nxPublic authored Feb 15, 2022
2 parents 13c6da4 + 81f4fe6 commit 1d9922a
Showing 1 changed file with 0 additions and 6 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

0 comments on commit 1d9922a

Please sign in to comment.