1
0
mirror of synced 2025-02-07 15:11:20 +01:00

Check file path instead

This commit is contained in:
KillzXGaming 2023-06-14 20:11:57 -04:00
parent 78da8c0b28
commit da87ed0d2c

View File

@ -951,7 +951,7 @@ namespace FirstPlugin
public void Save(Stream stream) public void Save(Stream stream)
{ {
//Force mesh codec compression on save //Force mesh codec compression on save
if (this.FileName.EndsWith(".mc")) if (this.FilePath.EndsWith(".mc"))
this.IFileInfo.FileCompression = new MeshCodecFormat(); this.IFileInfo.FileCompression = new MeshCodecFormat();
var Models = GetModels(); var Models = GetModels();