mirror of
https://github.com/KillzXGaming/Switch-Toolbox
synced 2025-02-16 13:58:26 +00:00
Check file path instead
This commit is contained in:
parent
78da8c0b28
commit
da87ed0d2c
1 changed files with 1 additions and 1 deletions
|
@ -951,7 +951,7 @@ namespace FirstPlugin
|
|||
public void Save(Stream stream)
|
||||
{
|
||||
//Force mesh codec compression on save
|
||||
if (this.FileName.EndsWith(".mc"))
|
||||
if (this.FilePath.EndsWith(".mc"))
|
||||
this.IFileInfo.FileCompression = new MeshCodecFormat();
|
||||
|
||||
var Models = GetModels();
|
||||
|
|
Loading…
Add table
Reference in a new issue