mirror of
https://github.com/OpenFactorioServerManager/factorio-server-manager.git
synced 2025-01-10 04:19:38 +02:00
fixed hardcoded SettingsPath
This commit is contained in:
parent
5cbac61c72
commit
db5dcfbd40
@ -143,7 +143,7 @@ func (f *FactorioServer) Run() error {
|
|||||||
args := []string{
|
args := []string{
|
||||||
"--bind", (f.BindIP),
|
"--bind", (f.BindIP),
|
||||||
"--port", strconv.Itoa(f.Port),
|
"--port", strconv.Itoa(f.Port),
|
||||||
"--server-settings", filepath.Join(config.FactorioConfigDir, "server-settings.json"),
|
"--server-settings", filepath.Join(config.FactorioConfigDir, config.SettingsFile),
|
||||||
"--rcon-port", strconv.Itoa(config.FactorioRconPort),
|
"--rcon-port", strconv.Itoa(config.FactorioRconPort),
|
||||||
"--rcon-password", config.FactorioRconPass,
|
"--rcon-password", config.FactorioRconPass,
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user