diff --git a/desktop_version/src/Script.cpp b/desktop_version/src/Script.cpp index 6a1f524c..ffd23668 100644 --- a/desktop_version/src/Script.cpp +++ b/desktop_version/src/Script.cpp @@ -3792,11 +3792,8 @@ void scriptclass::loadcustom(std::string t) break; } int ti=atoi(words[1].c_str()); - if(ti>=0 && ti<=50){ - for(int ti2=0; ti2=0 && ti<=50 ? ti : 1; + for(int ti2=0; ti2=0 && ti<=50){ - for(int ti2=0; ti2=0 && ti<=50 ? ti : 1; + for(int ti2=0; ti2