some elements are in front of the player #91
Loading…
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Fixed in
03b1c85.The gas vents on a gas giant drew over the fleet because
SurfaceFeaturesisadded after
FleetinPlanetSurface.tscn, so at the default z_index of 0 thelater sibling simply wins and you fly under your own gas source.
GasVentFieldnow setsz_index = -1, the same fix and the same reason as#50's capture rings and the rocks on a rocky surface.
To stop this recurring,
tests/test_surface_feature_depth.gdwalks everysurface feature on gas_giant, rocky and research_lab (22 of them) and asserts
each one's effective z is below the ship's. Enemies are deliberately excluded -
they are combatants and share the fleet's plane on purpose.