From dbce4472979329f5d570421a31907b436f1616ea Mon Sep 17 00:00:00 2001 From: Oliver Akins Date: Sat, 12 Mar 2022 23:14:57 -0600 Subject: [PATCH] Add the host boolean to the playerdata type --- common/src/types/PlayerData.ts | 3 +++ 1 file changed, 3 insertions(+) diff --git a/common/src/types/PlayerData.ts b/common/src/types/PlayerData.ts index ba1d673..e1794de 100644 --- a/common/src/types/PlayerData.ts +++ b/common/src/types/PlayerData.ts @@ -17,4 +17,7 @@ export interface PlayerData { /** The spaceship icon that the player will appear as in-game. */ ship: ISpaceship; + + /** Whether or not the player is the host of the game. */ + host: boolean; } \ No newline at end of file