Closed i7621149 closed 7 years ago
Seems like an issue with the "treeFloodFill" function, it calls itself a whole bunch before crashing.
Oh wait, it doesn't just happen when building, seems like FORAGE just causes crashes sometimes
Might be to do with being closer to an edge than to trees?
an edge? are you looking at the waterFloodFill?
If you click the forage button and then a tree the character will forage, if you click on a tree without clicking the forage button the character chops wood. Maybe there should be some feedback that you are in foraging mode such as the button colour changing or summin?
forage works great now, good job rosie :+1:
When the character is BUILDING, then giving them a FORAGE command crashes the game.