Address feedback

This commit is contained in:
Evil Eye 2022-05-22 09:29:03 +02:00
parent 266a0634eb
commit ac78b537d2
18 changed files with 69 additions and 78 deletions

View file

@ -137,8 +137,7 @@ namespace Interpreter
{
index = runtime[0].mInteger;
runtime.pop();
std::string_view button = runtime.getStringLiteral(index);
buttons.emplace_back(button.begin(), button.end());
buttons.emplace_back(runtime.getStringLiteral(index));
}
std::reverse (buttons.begin(), buttons.end());