mirror of
https://github.com/scratchfoundation/scratch-vm.git
synced 2024-12-23 06:23:37 -05:00
Wait includes is case sensitive
Made it convert to lowercase before comparing
This commit is contained in:
parent
3b601e8595
commit
5af99566fa
1 changed files with 1 additions and 1 deletions
|
@ -109,7 +109,7 @@ class Scratch3OperatorsBlocks {
|
|||
}
|
||||
|
||||
contains (args) {
|
||||
return Cast.toString(args.STRING1).includes(Cast.toString(args.STRING2));
|
||||
return Cast.toString(args.STRING1).toLowerCase().includes(Cast.toString(args.STRING2).toLowerCase());
|
||||
}
|
||||
|
||||
mod (args) {
|
||||
|
|
Loading…
Reference in a new issue