feat(mods): add battle.onFilterMissions hook and per-template bundled seeding
This commit is contained in:
1 parent
8636d0b71d
commit
5983e3f3e2
6 files changed
+127
-20
No files matched your search
@@ -179,7 +179,15 @@ export async function startServer(options: ServerOptions): Promise<RunningServer
|
||||
matching?.notifyUser(userId, eventName, payload);
|
||||
};
|
||||
const battleSessions = new BattleSessionStore(tuning.limits.battleSessionsKept);
|
||||
const battleMatchmaker = new BattleMatchmaker(gameModes, vehicles, battleSessions, tuning.battle, spawnRules, botAircraftLoadouts);
|
||||
const battleMatchmaker = new BattleMatchmaker(
|
||||
gameModes,
|
||||
vehicles,
|
||||
battleSessions,
|
||||
tuning.battle,
|
||||
spawnRules,
|
||||
botAircraftLoadouts,
|
||||
(ctx) => modRuntime.runBattleFilterMissions(ctx),
|
||||
);
|
||||
const economy = new BattleEconomy(
|
||||
economyData,
|
||||
tuning.battleEconomy,
|
||||
|
||||
Reference in new issue
Block a user