Make sure restricted scenery is available in Editor

This commit is contained in:
Gymnasiast 2021-11-13 23:24:19 +01:00
parent efd9cc420b
commit 1e8eb7087e
No known key found for this signature in database
GPG Key ID: DBFFF47AB2CA3EDD
1 changed files with 1 additions and 1 deletions

View File

@ -306,7 +306,7 @@ bool IsSceneryAvailableToBuild(const ScenerySelection& item)
}
}
if (!gCheatsSandboxMode)
if (!gCheatsSandboxMode && !(gScreenFlags & SCREEN_FLAGS_EDITOR))
{
if (IsSceneryItemRestricted(item))
{