Skip to content
This repository has been archived by the owner on Oct 25, 2024. It is now read-only.

Commit

Permalink
allow customization of start players
Browse files Browse the repository at this point in the history
  • Loading branch information
maxsupermanhd committed Sep 14, 2024
1 parent a34b80e commit 7f08b04
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion hoster.go
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ func spawnRunner(inst *instance) {
"--headless",
"--gameport=" + fmt.Sprint(inst.Settings.GamePort),
"--enablelobbyslashcmd",
"--startplayers=" + fmt.Sprint(inst.Settings.PlayerCount),
"--startplayers=" + fmt.Sprint(tryCfgGetD(tryGetIntGen("startPlayers"), inst.Settings.PlayerCount, inst.cfgs...)),
"--gamelog-output=log,cmdinterface",
"--gamelog-outputkey=playerposition",
"--gamelog-frameinterval=1",
Expand Down

0 comments on commit 7f08b04

Please sign in to comment.