Skip to content

Commit e47b568

Browse files
committed
Modified server-start command for .13
Added full save file path to startup argument.
1 parent 593f38e commit e47b568

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/server.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,7 @@ func initFactorio() *FactorioServer {
5353
func (f *FactorioServer) Run() error {
5454
var err error
5555

56-
args := []string{"--start-server", f.Savefile,
56+
args := []string{"--start-server", config.FactorioSavesDir + "/" + f.Savefile,
5757
"--latency-ms", strconv.Itoa(f.Latency),
5858
"--autosave-interval", strconv.Itoa(f.AutosaveInterval),
5959
"--autosave-slots", strconv.Itoa(f.AutosaveSlots),

0 commit comments

Comments
 (0)