Fix installed mod archives having extensions stripped

This commit is contained in:
kayomn 2022-12-22 00:44:42 +00:00
parent 11b66395b5
commit 1488d64711
1 changed files with 1 additions and 1 deletions

View File

@ -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