What happened
Factorio crashes on <surface>.find_entities_filtered with absurdly large radius value.How to reproduce
Run this command in the consoleCode: Select all
/c game.surfaces[1].find_entities_filtered{position = {0,0}, radius = 1.7976931348623e+308}
Why did i try this
I have a script for finding entities within the reach of the player. However when switching to remote view, the value of player.resource_reach_distance is 1.7976931348623e+308, which makes the function crash Factorio.Lower values such as 1.7976931348623e+288 doesn't crash the game.