Skip to content

Commit 65b178a

Browse files
committed
chore: sv lan set to true when lan
1 parent 1e036a2 commit 65b178a

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

src/matches/match-assistant/match-assistant.service.ts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -449,6 +449,7 @@ export class MatchAssistantService {
449449
supports_cpu_pinning: true,
450450
},
451451
server_region: {
452+
is_lan: true,
452453
steam_relay: true,
453454
},
454455
},
@@ -584,7 +585,7 @@ export class MatchAssistantService {
584585
},
585586
{
586587
name: "EXTRA_GAME_PARAMS",
587-
value: `-maxplayers ${match.max_players_per_lineup * 2 + 3} ${map.workshop_map_id ? `+map de_inferno` : `+map ${map.name}`} +sv_password ${match.password}`,
588+
value: `-maxplayers ${match.max_players_per_lineup * 2 + 3} ${map.workshop_map_id ? `+map de_inferno` : `+map ${map.name}`} +sv_password ${match.password} ${server.server_region.is_lan ? `+sv_lan 1` : ""}`,
588589
},
589590
{ name: "SERVER_ID", value: server.id },
590591
{

0 commit comments

Comments
 (0)