mirror of
https://github.com/knah/VRCMelonAssistant.git
synced 2024-06-01 18:20:12 +12:00
Add a wee bit of commenting
This commit is contained in:
parent
03ecbee5f9
commit
3f2bdff6d1
|
@ -306,6 +306,8 @@ namespace ModAssistant
|
|||
else
|
||||
{
|
||||
//Check to see if the lengths of each file are different. If they are, overwrite what currently exists.
|
||||
//The reason we are also checking LoadedTheme against the name variable is to prevent overwriting a file that's
|
||||
//already being used by ModAssistant and causing a System.IO.IOException.
|
||||
FileInfo existingInfo = new FileInfo($"{ThemeDirectory}\\{name}\\_{name}.mp4");
|
||||
if (existingInfo.Length != file.Length && LoadedTheme != name)
|
||||
{
|
||||
|
|
Loading…
Reference in a new issue