mirror of
https://gitea.tendokyu.moe/beerpsi/sinmai-mods.git
synced 2025-02-14 09:42:35 +01:00
21 lines
430 B
C#
21 lines
430 B
C#
// ReSharper disable CheckNamespace
|
|
// ReSharper disable InconsistentNaming
|
|
|
|
using MonoMod;
|
|
|
|
namespace Manager.MaiStudio.Serialize;
|
|
|
|
public class patch_FilePath : FilePath
|
|
{
|
|
[MonoModReplace]
|
|
public override void AddPath(string parentPath)
|
|
{
|
|
if (string.IsNullOrEmpty(path) || path.StartsWith(parentPath))
|
|
{
|
|
return;
|
|
}
|
|
|
|
path = parentPath + path;
|
|
}
|
|
}
|