mirror of
https://github.com/smogon/pokemon-showdown-client.git
synced 2026-05-31 21:22:20 -05:00
Fix crash in statSlide
This commit is contained in:
parent
41b34ddf5d
commit
f9b553f379
|
|
@ -871,6 +871,7 @@
|
|||
statSlide: function(val, slider) {
|
||||
var stat = slider.inputNode[0].name.substr(9);
|
||||
var set = this.curSet;
|
||||
if (!set) return;
|
||||
val = +val;
|
||||
|
||||
if (!this.ignoreEVLimits && set.evs) {
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user