mirror of
https://github.com/xivdev/Penumbra.git
synced 2025-12-14 04:34:19 +01:00
Some fixes regarding Forward-Slashes in ModNames.
This commit is contained in:
parent
03a722b92f
commit
d6bb45f33c
8 changed files with 72 additions and 21 deletions
|
|
@ -39,9 +39,10 @@ namespace Penumbra.Mods
|
|||
return false;
|
||||
}
|
||||
|
||||
if( newSortOrder == string.Empty || newSortOrder == mod.Meta.Name )
|
||||
var modName = mod.Meta.Name.Replace( '/', '\\' );
|
||||
if( newSortOrder == string.Empty || newSortOrder == modName )
|
||||
{
|
||||
mod.SortOrder = mod.Meta.Name;
|
||||
mod.SortOrder = modName;
|
||||
manager.Config.ModSortOrder.Remove( mod.BasePath.Name );
|
||||
}
|
||||
else
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue