A bit of code in
As a result, calls to libido() function which are intended to change libido only ever set it to current min level (or less).
currently:
should be:
libido()
function attempts to keep the libidoRaw
value within libido min-max range, but badly placed parentheses turn it into a 3-argument call for Math.min()
, while Math.max()
receives just one argument -- the outcome of Math.min()
As a result, calls to libido() function which are intended to change libido only ever set it to current min level (or less).
currently:
JavaScript:
this.libidoRaw = Math.max(Math.min(this.libidoRaw, this.libidoMax(true), this.libidoMin()));
should be:
JavaScript:
this.libidoRaw = Math.max(Math.min(this.libidoRaw, this.libidoMax(true)), this.libidoMin());
Last edited: