diff --git a/1.5/Assemblies/ShowMeYourHands.dll b/1.5/Assemblies/ShowMeYourHands.dll index 761b84b..182e52f 100644 Binary files a/1.5/Assemblies/ShowMeYourHands.dll and b/1.5/Assemblies/ShowMeYourHands.dll differ diff --git a/About/About.xml b/About/About.xml index e61a61f..40b17d3 100644 --- a/About/About.xml +++ b/About/About.xml @@ -88,8 +88,8 @@ Since modding is just a hobby for me I expect no donations to keep modding. If y [*] Do not report errors by making a discussion-thread, I get no notification of that. [*] If you have the solution for a problem, please post it to the GitHub repository. [*] Use [url=https://github.com/RimSort/RimSort/releases/latest]RimSort[/url] to sort your mods -[/list] +[/list] -[url=https://steamcommunity.com/sharedfiles/filedetails/changelog/2475965842][img]https://img.shields.io/github/v/release/emipa606/ShowMeYourHands?label=latest%20version&style=plastic&labelColor=0070cd&color=white[/img][/url] - 1.5.12 +[url=https://steamcommunity.com/sharedfiles/filedetails/changelog/2475965842][img]https://img.shields.io/github/v/release/emipa606/ShowMeYourHands?label=latest%20version&style=plastic&labelColor=0070cd&color=white[/img][/url] | tags: graphics, realism, customization + 1.5.13 \ No newline at end of file diff --git a/About/Changelog.txt b/About/Changelog.txt index bb96e79..1782abc 100644 --- a/About/Changelog.txt +++ b/About/Changelog.txt @@ -1,5 +1,8 @@ # Changelog for ShowMeYourHands +1.5.13 - Removed redundant logging + + 1.5.12 - Fixed compatiblity with CEs aiming animation diff --git a/About/Manifest.xml b/About/Manifest.xml index 3a22a63..a40274e 100644 --- a/About/Manifest.xml +++ b/About/Manifest.xml @@ -1,7 +1,7 @@ ShowMeYourHands - 1.5.12 + 1.5.13 diff --git a/About/ModSync.xml b/About/ModSync.xml index 871eb32..36e7d5d 100644 --- a/About/ModSync.xml +++ b/About/ModSync.xml @@ -2,7 +2,7 @@ a5b440f3-8aa2-46ee-8a29-29561bb7087a Show Me Your Hands - 1.5.12 + 1.5.13 False emipa606 diff --git a/README.md b/README.md index 2c6a638..c0fd52a 100644 --- a/README.md +++ b/README.md @@ -58,6 +58,6 @@ Since modding is just a hobby for me I expect no donations to keep modding. If y - If you have the solution for a problem, please post it to the GitHub repository. - Use [RimSort](https://github.com/RimSort/RimSort/releases/latest) to sort your mods + - -[![Image](https://img.shields.io/github/v/release/emipa606/ShowMeYourHands?label=latest%20version&style=plastic&labelColor=0070cd&color=white)](https://steamcommunity.com/sharedfiles/filedetails/changelog/2475965842) +[![Image](https://img.shields.io/github/v/release/emipa606/ShowMeYourHands?label=latest%20version&style=plastic&labelColor=0070cd&color=white)](https://steamcommunity.com/sharedfiles/filedetails/changelog/2475965842) | tags: graphics, realism, customization diff --git a/Source/ShowMeYourHands/HandDrawer.cs b/Source/ShowMeYourHands/HandDrawer.cs index d754e53..561440e 100644 --- a/Source/ShowMeYourHands/HandDrawer.cs +++ b/Source/ShowMeYourHands/HandDrawer.cs @@ -394,13 +394,6 @@ private void DrawHandsOnWeapon(Thing mainHandWeapon, float aimAngle, Pawn pawn, if (!ShowMeYourHandsMain.weaponLocations.TryGetValue(mainHandWeapon, out var location)) { - if (ShowMeYourHandsMod.instance.Settings.VerboseLogging) - { - Log.WarningOnce( - $"[ShowMeYourHands]: Could not find the position for {mainHandWeapon.def.label} from the mod {mainHandWeapon.def.modContentPack.Name}, equipped by {pawn.Name}. Please report this issue to the author of Show Me Your Hands if possible.", - mainHandWeapon.def.GetHashCode()); - } - return; } @@ -412,22 +405,10 @@ private void DrawHandsOnWeapon(Thing mainHandWeapon, float aimAngle, Pawn pawn, var offMeleeExtra = 0f; var mainMelee = false; var offMelee = false; - if (offHandWeapon != null) + if (offHandWeapon != null && ShowMeYourHandsMain.weaponLocations.ContainsKey(offHandWeapon)) { - if (!ShowMeYourHandsMain.weaponLocations.ContainsKey(offHandWeapon)) - { - if (ShowMeYourHandsMod.instance.Settings.VerboseLogging) - { - Log.WarningOnce( - $"[ShowMeYourHands]: Could not find the position for {offHandWeapon.def.label} from the mod {offHandWeapon.def.modContentPack.Name}, equipped by {pawn.Name}. Please report this issue to the author of Show Me Your Hands if possible.", - offHandWeapon.def.GetHashCode()); - } - } - else - { - offhandWeaponLocation = ShowMeYourHandsMain.weaponLocations[offHandWeapon].Item1; - offHandAngle = ShowMeYourHandsMain.weaponLocations[offHandWeapon].Item2; - } + offhandWeaponLocation = ShowMeYourHandsMain.weaponLocations[offHandWeapon].Item1; + offHandAngle = ShowMeYourHandsMain.weaponLocations[offHandWeapon].Item2; } mainHandAngle -= 90f; diff --git a/Source/ShowMeYourHands/ShowMeYourHands.csproj b/Source/ShowMeYourHands/ShowMeYourHands.csproj index 6aa47f6..0114ae1 100644 --- a/Source/ShowMeYourHands/ShowMeYourHands.csproj +++ b/Source/ShowMeYourHands/ShowMeYourHands.csproj @@ -6,7 +6,7 @@ false None latest - 1.5.12 + 1.5.13 diff --git a/Source/metadata.json b/Source/metadata.json index d1699a7..e29c0cc 100644 --- a/Source/metadata.json +++ b/Source/metadata.json @@ -4,5 +4,10 @@ "CanRemove": "0", "PreviewVersion": "1.5", "SocialImageSet": true, - "FundingSet": true + "FundingSet": true, + "SearchTags": [ + "graphics", + "realism", + "customization" + ] }