summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--npc/functions/refine.txt2
1 files changed, 1 insertions, 1 deletions
diff --git a/npc/functions/refine.txt b/npc/functions/refine.txt
index cbf6a96ca..fb1cfb57e 100644
--- a/npc/functions/refine.txt
+++ b/npc/functions/refine.txt
@@ -24,7 +24,7 @@ function script refineMaster {
l("Nothing, thanks"), 0,
rif(getequipisequiped(EQI_HEAD_MID), l("My chestplate, @@", getequipname(EQI_HEAD_MID))), EQI_HEAD_MID,
rif(getequipisequiped(EQI_HAND_R), l("My weapon, @@", getequipname(EQI_HAND_R))), EQI_HAND_R,
- rif(getequipisequiped(EQI_HAND_L), l("My shield, @@", getequipname(EQI_HAND_L))), EQI_HAND_L,
+ rif(getequipisequiped(EQI_HAND_L) && getequipid(EQI_HAND_L) != getequipid(EQI_HAND_R), l("My shield, @@", getequipname(EQI_HAND_L))), EQI_HAND_L,
rif(getequipisequiped(EQI_HEAD_TOP), l("My helmet, @@", getequipname(EQI_HEAD_TOP))), EQI_HEAD_TOP,
l("Item break? Too dangerous! I don't want it!!"), 0;