Merge pull request #1531 from drummyfish/cyclefix

Don't switch weapon when cycling to the same weapon (issue #4180)
pull/328/head
scrawl 7 years ago committed by GitHub
commit 5e69f6033f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -735,7 +735,7 @@ namespace MWGui
} }
} }
if (!found) if (!found || selected == cycled)
return; return;
useItem(model.getItem(cycled).mBase); useItem(model.getItem(cycled).mBase);

Loading…
Cancel
Save