Line 999: | Line 999: | ||
var setTo; | var setTo; | ||
if (is < must) { | if (is < must) { | ||
− | setTo = is + Math.max(((must - is) / 200), | + | setTo = is + Math.max(((must - is) / 200), 10); |
if (setTo > must) { | if (setTo > must) { | ||
setTo = must; | setTo = must; | ||
} | } | ||
} else if (is > must) { | } else if (is > must) { | ||
− | setTo = is - Math.max(((is - must) / 200), | + | setTo = is - Math.max(((is - must) / 200), 10); |
if (setTo < must) { | if (setTo < must) { | ||
setTo = must; | setTo = must; |
Revision as of 21:34, 31 October 2017