Skip to content

Commit

Permalink
Forgot to return
Browse files Browse the repository at this point in the history
whoops
  • Loading branch information
SabreML committed Apr 1, 2023
1 parent 85787ca commit 0b1363c
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
2 changes: 1 addition & 1 deletion JollyRebind/modinfo.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"id": "sabreml.jollyrebind",
"name": "Jolly Rebind",
"version": "1.1.1",
"version": "1.1.2",
"target_game_version": "v1.9.07b",
"authors": "SabreML",
"description": "Adds a customisable input to change the Jolly Co-op pointing button.",
Expand Down
5 changes: 3 additions & 2 deletions src/JollyRebindMod.cs
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@

namespace JollyRebind
{
[BepInPlugin("sabreml.jollyrebind", "JollyRebind", "1.1.1")]
[BepInPlugin("sabreml.jollyrebind", "JollyRebind", "1.1.2")]
public class JollyRebindMod : BaseUnityPlugin
{
// A `HashSet` of previously logged controller element exceptions.
Expand Down Expand Up @@ -77,13 +77,14 @@ private void JollyInputUpdateHK(On.Player.orig_JollyInputUpdate orig, Player sel
// Otherwise, make an exception log with the name and ID of the button the player is trying to use.
else
{
string exceptionString = $"(JollyRebind) Unknown controller element '{mapKeyElementMap.elementIdentifierName} ({mapKeyElementMap.elementIdentifierId})'!";
string exceptionString = $"(JollyRebind) Unknown controller element '{mapKeyElementMap.elementIdentifierName} ({mapKeyElementMap.elementIdentifierId})'! Defaulting to the map key.";

// If this exceptionString hasn't been logged already.
if (exceptionLogLog.Add(exceptionString))
{
Debug.LogException(new System.Exception(exceptionString));
}
return;
}
}
// If the player is using a keyboard.
Expand Down

0 comments on commit 0b1363c

Please sign in to comment.