Fix isNaN typo

This commit is contained in:
hppeng 2022-07-11 00:59:53 -07:00
parent baf08cb533
commit 3c1ff1a263

View file

@ -425,7 +425,7 @@ const atree_render_active = new (class extends ComputeNode {
const level = parseInt(input_map.get('level'));
const active_AP_cap = document.getElementById('active_AP_cap');
let AP_cap;
if (isNan(level)) {
if (isNaN(level)) {
AP_cap = 45;
}
else {