3snowp7im / SotN-Randomizer

Randomizer for Castlevania: SotN
https://sotn.io
Do What The F*ck You Want To Public License
89 stars 37 forks source link

Unnecessary if statement #137

Open fdelduque opened 2 weeks ago

fdelduque commented 2 weeks ago

On randomize_stats.js at line 91 "if (weaponHandTypes.indexOf(handType) === -1)" handType is a string object while weaponHandTypes is array of ints So it will always return true. Not sure if this is a bug.