alwaysContinuous weapons have no reload (#7124)

This commit is contained in:
MEEPofFaith 2022-07-04 14:28:23 -07:00 committed by GitHub
parent 9dd6de7e33
commit 4e8736de6c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -151,7 +151,7 @@ public class Weapon implements Cloneable{
t.row();
t.add("[lightgray]" + Stat.inaccuracy.localized() + ": [white]" + (int)inaccuracy + " " + StatUnit.degrees.localized());
}
if(reload > 0){
if(!alwaysContinuous && reload > 0){
t.row();
t.add("[lightgray]" + Stat.reload.localized() + ": " + (mirror ? "2x " : "") + "[white]" + Strings.autoFixed(60f / reload * shoot.shots, 2) + " " + StatUnit.perSecond.localized());
}