Script: ReplaceVariables() now also replaces [measures]

This commit is contained in:
Birunthan Mohanathas 2012-08-01 20:40:50 +03:00
parent e4104587f5
commit 746bd059fd

View File

@ -126,6 +126,7 @@ static int ReplaceVariables(lua_State* L)
std::wstring strTmp = LuaManager::ToWide(L, 2);
self->GetParser().ReplaceVariables(strTmp);
self->GetParser().ReplaceMeasures(strTmp);
LuaManager::PushWide(L, strTmp.c_str());
return 1;