Terrain was spelled "terrian" throughout the code.
Robert French (https://robertdfrench.me) found that terrain was misspelled as "terrian".
Edited by Caleb Cooper
Robert French (https://robertdfrench.me) found that terrain was misspelled as "terrian".