From cae267c0fafa2061180e4f5b3d54675ded2be2c7 Mon Sep 17 00:00:00 2001 From: Oliver Eyton-Williams Date: Wed, 18 Nov 2015 11:59:31 +0100 Subject: [PATCH] Two-handed weapons no longer automatically equip unless desired. --- common/script/index.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/common/script/index.js b/common/script/index.js index 6a3558f937..5bc5044492 100644 --- a/common/script/index.js +++ b/common/script/index.js @@ -1558,9 +1558,9 @@ api.wrap = function(user, main) { } else { if (user.preferences.autoEquip) { user.items.gear.equipped[item.type] = item.key; + message = user.fns.handleTwoHanded(item, null, req); } user.items.gear.owned[item.key] = true; - message = user.fns.handleTwoHanded(item, null, req); if (message == null) { message = i18n.t('messageBought', { itemText: item.text(req.language)