I just noticed when playing around with the game that it would panic if the X/Y was outside the bounds of the Vec. Copied the get_tile functions to validate the next position was in bounds before attempting to move to it.
I'm pretty new to rust and open source in general, so let me know what you think
I just noticed when playing around with the game that it would panic if the X/Y was outside the bounds of the Vec. Copied the get_tile functions to validate the next position was in bounds before attempting to move to it.
I'm pretty new to rust and open source in general, so let me know what you think