Fix removal of game association not cleaning deployment
This commit is contained in:
parent
8fcf4f7f85
commit
43e9791ffe
|
@ -322,6 +322,10 @@ func DeployGameMods(gameName string, modArchivePaths []string) error {
|
||||||
}
|
}
|
||||||
|
|
||||||
func RemoveGame(gameName string) error {
|
func RemoveGame(gameName string) error {
|
||||||
|
if cleanError := CleanGameMods(gameName); cleanError != nil {
|
||||||
|
return cleanError
|
||||||
|
}
|
||||||
|
|
||||||
var gameDataPaths = make(map[string]string)
|
var gameDataPaths = make(map[string]string)
|
||||||
|
|
||||||
if iniFile, openError := os.Open(gamesIniPath); openError == nil {
|
if iniFile, openError := os.Open(gamesIniPath); openError == nil {
|
||||||
|
|
Loading…
Reference in New Issue