Adding a new TileDirection.INVALID
value causes existing code to crash
#397
Labels
bug
Something isn't working
TileDirection.INVALID
value causes existing code to crash
#397
I attempted to add
TileDirection.INVALID
, and without changing any other code, the game crashes with the following error when trying to move a unit to a new tile:This is strange because I did not reference the
INVALID
enum anywhere in code other than adding it to the enum declaration.The text was updated successfully, but these errors were encountered: