So I get an error when testing my game.
Error: <<set>>: bad evaluation: Cannot read property '1' of undefined
And of course I checked and found a misspelled variable, but after correcting the misspelled variable I get the same message and hovering over the message brings up the same variable with the same spelling before I corrected it. Like this:
Before fix:
After fix:
the error message still displays the first, but that is not what it says in my code:
Error: <<set>>: bad evaluation: Cannot read property '1' of undefined
And of course I checked and found a misspelled variable, but after correcting the misspelled variable I get the same message and hovering over the message brings up the same variable with the same spelling before I corrected it. Like this:
Before fix:
$CastlePrint to $CasstleSize
After fix:
$CastlePrint to $CastleSize
the error message still displays the first, but that is not what it says in my code:
<<set $CastleSize to 1 $CastlePrint to $CastleSize >>I have tried rewriting the entire statement and copy pasting the correct spelling and closing twine to restart, but that doesn't do anything.