diff --git a/stepmania/src/Sprite.cpp b/stepmania/src/Sprite.cpp index b5c50ea512..ad7bf96f32 100644 --- a/stepmania/src/Sprite.cpp +++ b/stepmania/src/Sprite.cpp @@ -123,6 +123,11 @@ retry: if( pNode->GetAttrValue( "Texture", sTextureFile ) ) { sPath = sDir + sTextureFile; + LuaHelpers::RunAtExpressionS( sTextureFile ); + + bool bIsAbsolutePath = sTextureFile.Left(1) == "/"; + sPath = bIsAbsolutePath ? sTextureFile : sDir+sTextureFile; + CollapsePath( sPath ); }