mirror of
https://github.com/OpenRCT2/OpenRCT2
synced 2026-01-21 22:13:07 +01:00
Rename openrct2_corrupt to openrct2_corrupt_deprecated
This commit is contained in:
2
distribution/openrct2.d.ts
vendored
2
distribution/openrct2.d.ts
vendored
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user