add ampersand support whoops

This commit is contained in:
Justin Pridgen 2024-07-04 22:59:40 -04:00
parent 7d40c8188f
commit b80efe0517

View file

@ -347,6 +347,11 @@ struct MDParser {
imgArguments.erase(imgArguments.begin()); //remove the image path
// Split by "&" to get arguments
if (imgArguments.size() > 0) {
imgArguments = utils::string::split(imgArguments.at(0), "&");
}
float spriteScale = 1.0f;
for(std::string arg : imgArguments){