1
0
mirror of synced 2025-01-31 12:23:52 +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)
{
//Force mesh codec compression on save
if (this.FileName.EndsWith(".mc"))
if (this.FilePath.EndsWith(".mc"))
this.IFileInfo.FileCompression = new MeshCodecFormat();
var Models = GetModels();