Whoopsie.. Fix files not deleting on TinyDB Screen?

This commit is contained in:
VoltZ
2019-11-20 19:57:58 +01:00
parent f00de2807c
commit 348b29910a
+1 -1
View File
@@ -196,7 +196,7 @@ void TinyDB::Logic(u32 hDown, u32 hHeld, touchPosition touch) {
}
void TinyDB::execute() {
for(int i=0;i<(int)tinyDBJson.at(selectedOption).size();i++) {
for(int i=0;i<(int)tinyDBJson.at(selectedOption).at("script").size();i++) {
std::string type = tinyDBJson.at(selectedOption).at("script").at(i).at("type");
if(type == "deleteFile") {
bool missing = false;