mirror of
https://github.com/claunia/SabreTools.git
synced 2025-12-16 19:14:27 +00:00
[RomManipulation] Add more logic for name checking
This commit is contained in:
@@ -1228,8 +1228,8 @@ namespace SabreTools.Helper
|
|||||||
// Get the name of the game from the parent
|
// Get the name of the game from the parent
|
||||||
tempname = String.Join("\\", parent);
|
tempname = String.Join("\\", parent);
|
||||||
|
|
||||||
// If we have a SuperDAT and we aren't keeping names
|
// If we aren't keeping names, trim out the path
|
||||||
if (superdat && !keep)
|
if (!keep || !superdat)
|
||||||
{
|
{
|
||||||
string tempout = Regex.Match(tempname, @".*?\\(.*)").Groups[1].Value;
|
string tempout = Regex.Match(tempname, @".*?\\(.*)").Groups[1].Value;
|
||||||
if (tempout != "")
|
if (tempout != "")
|
||||||
|
|||||||
Reference in New Issue
Block a user