Skip to content

Commit

Permalink
Merge pull request #7 from lilwhitemouse/patch-1
Browse files Browse the repository at this point in the history
Compatibility fix for LWM's Deep Storage
  • Loading branch information
rheirman authored Mar 27, 2019
2 parents ea8dca2 + 0b73e22 commit 2c7e3e9
Showing 1 changed file with 3 additions and 6 deletions.
9 changes: 3 additions & 6 deletions Source/DualWield/Harmony/FloatMenuMakerMap.cs
Original file line number Diff line number Diff line change
Expand Up @@ -39,14 +39,11 @@ static void Postfix(Vector3 clickPos, Pawn pawn, ref List<FloatMenuOption> opts)
if (thingList[i].TryGetComp<CompEquippable>() != null)
{
equipment = (ThingWithComps)thingList[i];
break;
FloatMenuOption equipOffHandOption = GetEquipOffHandOption(pawn, equipment);
opts.Add(equipOffHandOption);
}
}
if (equipment != null)
{
FloatMenuOption equipOffHandOption = GetEquipOffHandOption(pawn, equipment);
opts.Add(equipOffHandOption);
}

}
}
}
Expand Down

0 comments on commit 2c7e3e9

Please sign in to comment.