mirror of
https://github.com/4sval/FModel.git
synced 2026-09-13 20:16:38 -05:00
Fixed some paths (Fixed S15 Challenges Rewards)
This commit is contained in:
@@ -45,7 +45,7 @@ namespace FModel.Utils
|
||||
{
|
||||
"Game" => regex.Replace(path, $"{Folders.GetGameName()}/Content", 1),
|
||||
"RegionCN" => regex.Replace(path, $"{Folders.GetGameName()}/Plugins/{trigger}/Content", 1),
|
||||
_ => regex.Replace(path, $"{Folders.GetGameName()}/Plugins/GameFeatures/{trigger}/Content", 1)
|
||||
_ => !path.Contains("/Plugins/GameFeatures/") && !path.Contains($"{Folders.GetGameName()}/Content") ? regex.Replace(path, $"{Folders.GetGameName()}/Plugins/GameFeatures/{trigger}/Content", 1) : path
|
||||
};
|
||||
|
||||
int sep = fixedPath.LastIndexOf('.');
|
||||
|
||||
Reference in New Issue
Block a user