Removed unused var warning
This commit is contained in:
parent
b72067ba60
commit
ef7bb99f41
1 changed files with 2 additions and 3 deletions
|
@ -55,15 +55,13 @@ export const createChellarisGameGroup = (): ChellarisGameGroup => {
|
||||||
|
|
||||||
export const createChellarisEmpire = (
|
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,
|
discord_user?: string,
|
||||||
group_id: number,
|
group_id: number,
|
||||||
gestalt: boolean,
|
gestalt: boolean,
|
||||||
empire_portrait_id: number,
|
empire_portrait_id: number,
|
||||||
empire_portrait_group_id: number,
|
empire_portrait_group_id: number,
|
||||||
group_game_id: number
|
|
||||||
}): ChellarisEmpire => {
|
}): ChellarisEmpire => {
|
||||||
const newChellarisEmpire = {
|
const newChellarisEmpire = {
|
||||||
gestalt: gestalt,
|
gestalt: gestalt,
|
||||||
|
@ -72,6 +70,7 @@ export const createChellarisEmpire = (
|
||||||
empire_portrait: empire_portrait_id,
|
empire_portrait: empire_portrait_id,
|
||||||
empire_portrait_group: empire_portrait_group_id,
|
empire_portrait_group: empire_portrait_group_id,
|
||||||
ethics: new Map(),
|
ethics: new Map(),
|
||||||
|
discord_user: discord_user,
|
||||||
};
|
};
|
||||||
|
|
||||||
return newChellarisEmpire;
|
return newChellarisEmpire;
|
||||||
|
|
Reference in a new issue