From fcea5bc4836167cb0719d05fd6104e8e09fed336 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=CE=B6eh=20Matt?= <5415177+ZehMatt@users.noreply.github.com> Date: Wed, 16 Feb 2022 19:53:03 +0200 Subject: [PATCH] Update openrct2.d.ts --- distribution/openrct2.d.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/distribution/openrct2.d.ts b/distribution/openrct2.d.ts index 6823cf158a..2ce5e01f6b 100644 --- a/distribution/openrct2.d.ts +++ b/distribution/openrct2.d.ts @@ -1098,9 +1098,9 @@ declare global { */ interface Entity { /** - * The entity index within the entity list. + * The entity index within the entity list. Returns null for invalid entities. */ - readonly id: number; + readonly id: number | null; /** * The type of entity, e.g. guest, vehicle, etc. */