We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e47b568 commit b1eca21Copy full SHA for b1eca21
src/server.go
@@ -53,7 +53,7 @@ func initFactorio() *FactorioServer {
53
func (f *FactorioServer) Run() error {
54
var err error
55
56
- args := []string{"--start-server", config.FactorioSavesDir + "/" + f.Savefile,
+ args := []string{"--start-server", filepath.Join(config.FactorioSavesDir, f.Savefile),
57
"--latency-ms", strconv.Itoa(f.Latency),
58
"--autosave-interval", strconv.Itoa(f.AutosaveInterval),
59
"--autosave-slots", strconv.Itoa(f.AutosaveSlots),
0 commit comments