Removed unused var warning

This commit is contained in:
Neshura 2023-08-21 03:49:11 +02:00
parent b72067ba60
commit ef7bb99f41
Signed by: Neshura
GPG key ID: B6983AAA6B9A7A6C

View file

@ -55,15 +55,13 @@ export const createChellarisGameGroup = (): ChellarisGameGroup => {
export const createChellarisEmpire = (
{
id, discord_user, group_id, gestalt, empire_portrait_id, empire_portrait_group_id, group_game_id
discord_user, group_id, gestalt, empire_portrait_id, empire_portrait_group_id
}: {
id: number,
discord_user?: string,
group_id: number,
gestalt: boolean,
empire_portrait_id: number,
empire_portrait_group_id: number,
group_game_id: number
}): ChellarisEmpire => {
const newChellarisEmpire = {
gestalt: gestalt,
@ -72,6 +70,7 @@ export const createChellarisEmpire = (
empire_portrait: empire_portrait_id,
empire_portrait_group: empire_portrait_group_id,
ethics: new Map(),
discord_user: discord_user,
};
return newChellarisEmpire;