I have modified the code by moving the variableleveloutside the scope of the if statement and renamed it to currentLevelfor greater specificity. Additionally, I have included currentLevelin the conditions for canSetHeading.
Please excuse any oversights as I am new to contributing and still familiarizing myself with the process.
Fix issue #197
I have modified the code by moving the variable
level
outside the scope of the if statement and renamed it tocurrentLevel
for greater specificity. Additionally, I have includedcurrentLevel
in the conditions forcanSetHeading
.Please excuse any oversights as I am new to contributing and still familiarizing myself with the process.