1
0
mirror of https://github.com/OpenRCT2/OpenRCT2 synced 2026-01-15 19:13:07 +01:00

Fix #5470: Available construction rights only displays once (#5476)

This commit is contained in:
Richard Jenkins
2017-05-14 23:45:44 +01:00
committed by Ted John
parent 6472c0e6c3
commit eb868089c8

View File

@@ -122,7 +122,9 @@ void window_land_rights_open()
static void window_land_rights_close(rct_window *w)
{
hide_construction_rights();
if (gLandRemainingConstructionSales == 0) {
hide_construction_rights();
}
// If the tool wasn't changed, turn tool off
if (land_rights_tool_is_active())