diff --git a/desktop_version/src/Scripts.cpp b/desktop_version/src/Scripts.cpp index 65aac0bd..e35bcd24 100644 --- a/desktop_version/src/Scripts.cpp +++ b/desktop_version/src/Scripts.cpp @@ -3,8 +3,6 @@ #include "Script.h" -#include - void scriptclass::load(std::string t) { //loads script name t into the array @@ -12,10 +10,9 @@ void scriptclass::load(std::string t) commands.clear(); running = true; - int maxlength = (std::min(int(t.length()),7)); std::string customstring=""; - for(int i=0; i