diff --git a/desktop_version/src/Script.cpp b/desktop_version/src/Script.cpp index 6a2cfc77..3e0ac4bf 100644 --- a/desktop_version/src/Script.cpp +++ b/desktop_version/src/Script.cpp @@ -3543,7 +3543,7 @@ void scriptclass::loadcustom(const std::string& t) break; } int ti=help.Int(words[1].c_str()); - int nti = ti>=0 && ti<=50 ? ti : 1; + int nti = ti>=0 ? ti : 1; for(int ti2=0; ti2=0 && ti<=50 ? ti : 1; + int nti = ti>=0 ? ti : 1; for(int ti2=0; ti2