Merge pull request #1531 from drummyfish/cyclefix

Don't switch weapon when cycling to the same weapon (issue #4180)
new-script-api
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;
useItem(model.getItem(cycled).mBase);

Loading…
Cancel
Save