Skip to content

Commit 6be9776

Browse files
committed
Fix .ace textures not being used as a fallback for missing .dds
1 parent 4fd63a3 commit 6be9776

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Source/RunActivity/Viewer3D/Materials.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -79,7 +79,7 @@ public Texture2D Get(string path, Texture2D defaultTexture, bool required = fals
7979
if (File.Exists(aceTexture))
8080
{
8181
texture = Orts.Formats.Msts.AceFile.Texture2DFromFile(GraphicsDevice, aceTexture);
82-
Trace.TraceWarning("Required texture {1} not existing; using existing texture {2}", path, aceTexture);
82+
Trace.TraceWarning("Required texture {0} not existing; using existing texture {1}", path, aceTexture);
8383
}
8484
else return defaultTexture;
8585
}

0 commit comments

Comments
 (0)