Skip to content

Commit

Permalink
Fix the "no quick attack above interactibles" bug
Browse files Browse the repository at this point in the history
  • Loading branch information
MoArtis committed Sep 10, 2019
1 parent b788bb2 commit 7566b07
Showing 1 changed file with 11 additions and 2 deletions.
13 changes: 11 additions & 2 deletions Code/ModifiedScripts.cs
Original file line number Diff line number Diff line change
@@ -1,7 +1,16 @@
// ** PlayerInput.cs - Update Method - Line 201 **
// ** PlayerInput.cs - Update Method - Lines 193 to 202 **
private void Update()
{
base.InteractQuick = _rewiredPlayer.GetButtonDown(Mod.UserXpMod.interactActionId);
//if (!InInteractRange)
//{
base.Quick = _rewiredPlayer.GetButtonDown("QuickAttack");
//base.InteractQuick = false;
//}
//else
//{
//base.Quick = false;
base.InteractQuick = _rewiredPlayer.GetButtonDown(Mod.UserXpMod.interactActionId);
//}
}

// ** UI_ScreenIntro.cs **
Expand Down

0 comments on commit 7566b07

Please sign in to comment.