Include surface_index in on_pre_build
Posted: Tue Feb 17, 2026 4:30 pm
When a player places a blueprint, the 'on_pre_build' event contains no surface information.
We get the player_index (but player surface can differ from the blueprints) and the map position, which is not enough if we don't know the surface.
We get the player_index (but player surface can differ from the blueprints) and the map position, which is not enough if we don't know the surface.