Skip to content

Commit 7937d6f

Browse files
committed
simplify more!
1 parent 68013a3 commit 7937d6f

1 file changed

Lines changed: 1 addition & 5 deletions

File tree

src/Modules/CalcActiveSkill.lua

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -212,11 +212,7 @@ local function getWeaponFlags(env, weaponData, weaponTypes, skillTypeDualWieldOn
212212
or types["One Handed Sword"]
213213
end
214214
-- Normal weapon matching
215-
if types[weaponData.type] then
216-
return true
217-
end
218-
219-
return false
215+
return types[weaponData.type]
220216
end
221217

222218
if weaponTypes then

0 commit comments

Comments
 (0)