fixed hardcoded SettingsPath

This commit is contained in:
knoxfighter 2019-05-13 00:16:32 +02:00
parent 5cbac61c72
commit db5dcfbd40

View File

@ -143,7 +143,7 @@ func (f *FactorioServer) Run() error {
args := []string{
"--bind", (f.BindIP),
"--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-password", config.FactorioRconPass,
}