We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent f7aebef commit 5438bafCopy full SHA for 5438baf
1 file changed
src/blocks/looksblocks.cpp
@@ -352,7 +352,6 @@ extern "C" void looks_switchcostumeto(Target *target, const ValueData *costume)
352
looks_previouscostume(target);
353
// Try to cast the string to a number (and treat it as a costume index)
354
// Pure whitespace should not be treated as a number
355
- // Note: isNaN will cast the string to a number before checking if it's NaN
356
} else if (value_isValidNumber(costume) && !isWhiteSpace)
357
looks_set_costume_by_index(target, value_toLong(costume) - 1);
358
}
0 commit comments