PathFinding.js
PathFinding.js copied to clipboard
Solving two problems: TypeError: Cannot read properties of undefined (reading 'x') and Error: TypeError: Cannot set properties of undefined (setting 'g')
…reading 'x') and Error: TypeError: Cannot set properties of undefined (setting 'g')
Hopefully this gets merged because I hate how my logs get filled with "TypeError: Cannot set property 'g' of undefined"