diff --git a/manager.go b/manager.go index 03faa0e..13e2275 100644 --- a/manager.go +++ b/manager.go @@ -527,7 +527,7 @@ func (game *Game) saveDeployment() error { } func (game *Game) saveMods() error { - var file, updateError = os.Open(filepath.Join(configPath(), game.Name, "mods.ini")) + var file, updateError = os.Create(filepath.Join(configPath(), game.Name, "mods.ini")) if updateError != nil { return updateError