mirror of https://github.com/OpenRCT2/OpenRCT2.git
Rename openrct2_corrupt to openrct2_corrupt_deprecated
This commit is contained in:
parent
f4fcaef0cd
commit
e5b1508694
|
@ -356,7 +356,7 @@ declare global {
|
|||
}
|
||||
|
||||
type TileElementType =
|
||||
"surface" | "footpath" | "track" | "small_scenery" | "wall" | "entrance" | "large_scenery" | "banner" | "openrct2_corrupt";
|
||||
"surface" | "footpath" | "track" | "small_scenery" | "wall" | "entrance" | "large_scenery" | "banner" | "openrct2_corrupt_deprecated";
|
||||
|
||||
interface BaseTileElement {
|
||||
type: TileElementType;
|
||||
|
|
|
@ -62,7 +62,7 @@ namespace OpenRCT2::Scripting
|
|||
case TILE_ELEMENT_TYPE_BANNER:
|
||||
return "banner";
|
||||
case TILE_ELEMENT_TYPE_CORRUPT:
|
||||
return "openrct2_corrupt";
|
||||
return "openrct2_corrupt_deprecated";
|
||||
default:
|
||||
return "unknown";
|
||||
}
|
||||
|
@ -87,7 +87,7 @@ namespace OpenRCT2::Scripting
|
|||
type = TILE_ELEMENT_TYPE_LARGE_SCENERY;
|
||||
else if (value == "banner")
|
||||
type = TILE_ELEMENT_TYPE_BANNER;
|
||||
else if (value == "openrct2_corrupt")
|
||||
else if (value == "openrct2_corrupt_deprecated")
|
||||
type = TILE_ELEMENT_TYPE_CORRUPT;
|
||||
else
|
||||
return;
|
||||
|
|
Loading…
Reference in New Issue