Rename get_tile_bonus()
The function get_tile_bonus() takes the primary player from the unit argument, not from the tile argument. Rename it get_unit_vs_tile_bonus().
(It is currently not in use in 3.1)
The function get_tile_bonus() takes the primary player from the unit argument, not from the tile argument. Rename it get_unit_vs_tile_bonus().
(It is currently not in use in 3.1)