GEAR optional in database
All checks were successful
Build / build (pull_request) Successful in 1m20s

This commit is contained in:
AMelonInsideLemon 2025-08-21 16:36:16 +02:00
parent c297ac01e9
commit 1eff3e8df2
2 changed files with 2 additions and 2 deletions

View File

@ -444,7 +444,7 @@ export const importLoadOutPresets = (db: ILoadoutDatabase, client: ILoadOutPrese
db.NORMAL_PVP = client.NORMAL_PVP.map(convertLoadOutConfig); db.NORMAL_PVP = client.NORMAL_PVP.map(convertLoadOutConfig);
db.LUNARO = client.LUNARO.map(convertLoadOutConfig); db.LUNARO = client.LUNARO.map(convertLoadOutConfig);
db.OPERATOR = client.OPERATOR.map(convertLoadOutConfig); db.OPERATOR = client.OPERATOR.map(convertLoadOutConfig);
db.GEAR = client.GEAR ? client.GEAR.map(convertLoadOutConfig) : []; db.GEAR = client.GEAR?.map(convertLoadOutConfig);
db.KDRIVE = client.KDRIVE.map(convertLoadOutConfig); db.KDRIVE = client.KDRIVE.map(convertLoadOutConfig);
db.DATAKNIFE = client.DATAKNIFE.map(convertLoadOutConfig); db.DATAKNIFE = client.DATAKNIFE.map(convertLoadOutConfig);
db.MECH = client.MECH.map(convertLoadOutConfig); db.MECH = client.MECH.map(convertLoadOutConfig);

View File

@ -79,7 +79,7 @@ export interface ILoadoutDatabase {
NORMAL_PVP: ILoadoutConfigDatabase[]; NORMAL_PVP: ILoadoutConfigDatabase[];
LUNARO: ILoadoutConfigDatabase[]; LUNARO: ILoadoutConfigDatabase[];
OPERATOR: ILoadoutConfigDatabase[]; OPERATOR: ILoadoutConfigDatabase[];
GEAR: ILoadoutConfigDatabase[]; GEAR?: ILoadoutConfigDatabase[];
KDRIVE: ILoadoutConfigDatabase[]; KDRIVE: ILoadoutConfigDatabase[];
DATAKNIFE: ILoadoutConfigDatabase[]; DATAKNIFE: ILoadoutConfigDatabase[];
MECH: ILoadoutConfigDatabase[]; MECH: ILoadoutConfigDatabase[];