From 63b8c712649a5e486c7fe60aa0c0d635568a3ef8 Mon Sep 17 00:00:00 2001 From: fraZ0R <30442287+f-raZ0R@users.noreply.github.com> Date: Tue, 29 Nov 2022 18:04:46 -0500 Subject: [PATCH] Actually fix #913 oops --- desktop_version/src/Script.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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