Subject says it all: using a force_index for surface.find_entities_filtered is an error: "bad argument #3 of 3 to 'find_entities_filtered' (string expected, got number)"
These do not work:
surface.find_entities_filtered{force = 3}
surface.find_entities_filtered{force = {player.force, 3}}
These work:
entity.force = 3
surface.find_entities_filtered{force = "neutral"}
surface.find_entities_filtered{force = {player.force, "neutral"}}
[boskid][1.1.78] using a force_index for surface.find_entities_filtered is an error
[boskid][1.1.78] using a force_index for surface.find_entities_filtered is an error
I have mods! I guess!
Link
Link
Re: [boskid][1.1.78] using a force_index for surface.find_entities_filtered is an error
Thanks for the report. Issue is now fixed for 1.1.79