mirror of
https://github.com/claunia/SabreTools.git
synced 2025-12-16 19:14:27 +00:00
Fix RombaSharp build
This commit is contained in:
@@ -47,13 +47,13 @@ in -old DAT file. Ignores those entries in -old that are not in -new.";
|
||||
outdat = outdat.Ensure(create: true);
|
||||
|
||||
// Check that all required files exist
|
||||
if (!File.Exists(olddat))
|
||||
if (olddat == null || !File.Exists(olddat))
|
||||
{
|
||||
logger.Error($"File '{olddat}' does not exist!");
|
||||
return false;
|
||||
}
|
||||
|
||||
if (!File.Exists(newdat))
|
||||
if (newdat == null || !File.Exists(newdat))
|
||||
{
|
||||
logger.Error($"File '{newdat}' does not exist!");
|
||||
return false;
|
||||
|
||||
Reference in New Issue
Block a user