From 43e9791ffe246a7783893ac2df3d039d4eac5612 Mon Sep 17 00:00:00 2001 From: kayomn Date: Sun, 25 Dec 2022 19:00:00 +0000 Subject: [PATCH] Fix removal of game association not cleaning deployment --- manager.go | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/manager.go b/manager.go index 0b5dbad..f3bb25b 100644 --- a/manager.go +++ b/manager.go @@ -322,6 +322,10 @@ func DeployGameMods(gameName string, modArchivePaths []string) error { } func RemoveGame(gameName string) error { + if cleanError := CleanGameMods(gameName); cleanError != nil { + return cleanError + } + var gameDataPaths = make(map[string]string) if iniFile, openError := os.Open(gamesIniPath); openError == nil {