Skip to content

Commit 7ea975a

Browse files
fix: correct function call for terrain and save system check in buildCommandArgs
1 parent 6d51c05 commit 7ea975a

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/managers/gamemgr/args.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@ func buildCommandArgs() []string {
5454
{Flag: "AdminPassword", Value: config.GetAdminPassword(), Condition: func() bool { return config.GetAdminPassword() != "" }, RequiresValue: true},
5555
}
5656
}
57-
if !config.IsNewTerrainAndSaveSystem {
57+
if !config.GetIsNewTerrainAndSaveSystem() {
5858
argOrder = []Arg{
5959
{Flag: "-nographics", RequiresValue: false},
6060
{Flag: "-batchmode", RequiresValue: false},

0 commit comments

Comments
 (0)