Skip to content

Commit

Permalink
fixed social fight issue
Browse files Browse the repository at this point in the history
  • Loading branch information
rheirman committed Feb 17, 2019
1 parent b47427c commit c005e46
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
Binary file modified Assemblies/DualWield.dll
Binary file not shown.
4 changes: 4 additions & 0 deletions Source/DualWield/Harmony/Pawn_MeleeVerbs.cs
Original file line number Diff line number Diff line change
Expand Up @@ -48,6 +48,10 @@ static void Postfix(Pawn_MeleeVerbs __instance, Thing target, Verb verbToUse, bo
{
return;
}
if (pawn.InMentalState)
{
return;
}

Verb verb = __instance.Pawn.TryGetMeleeVerbOffHand(target);
if(verb != null)
Expand Down

0 comments on commit c005e46

Please sign in to comment.