From 1488d64711f79549bfc2efa3cb64646ef0cff8d0 Mon Sep 17 00:00:00 2001 From: kayomn Date: Thu, 22 Dec 2022 00:44:42 +0000 Subject: [PATCH] Fix installed mod archives having extensions stripped --- manager.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/manager.go b/manager.go index e9c0622..a245d12 100644 --- a/manager.go +++ b/manager.go @@ -263,7 +263,7 @@ func (game *Game) InstallMod(archivePath string) error { // Copy archive into installation directory. { - var installPath, installPathError = game.configPath(name) + var installPath, installPathError = game.configPath(archiveBaseName) if installPathError != nil { return installPathError