Fix installed mod archives having extensions stripped
This commit is contained in:
parent
11b66395b5
commit
1488d64711
|
@ -263,7 +263,7 @@ func (game *Game) InstallMod(archivePath string) error {
|
||||||
|
|
||||||
// Copy archive into installation directory.
|
// Copy archive into installation directory.
|
||||||
{
|
{
|
||||||
var installPath, installPathError = game.configPath(name)
|
var installPath, installPathError = game.configPath(archiveBaseName)
|
||||||
|
|
||||||
if installPathError != nil {
|
if installPathError != nil {
|
||||||
return installPathError
|
return installPathError
|
||||||
|
|
Loading…
Reference in New Issue