Have the on_robot_built_tile event give the surface_index directly
Have the on_robot_built_tile event give the surface_index directly
Yes, we can get the LuaSurface through the entity. But seeing as on_player_built_tile provides the surface_index it seems inconsistent. Having the surface_index given seems relevant since acting the built tiles requires it.
- bobingabout
- Smart Inserter
- Posts: 7352
- Joined: Fri May 09, 2014 1:01 pm
- Contact:
Re: Have the on_robot_built_tile event give the surface_index directly
I'd guess that if it was on the player version but not the robot version, then it is likely something that was overlooked.