X-Git-Url: https://mograsim.net/gitweb/?a=blobdiff_plain;f=plugins%2Fnet.mograsim.logic.core%2Fsrc%2Fnet%2Fmograsim%2Flogic%2Fcore%2Ftimeline%2FPauseableTimeFunction.java;h=b1bfcf3aadf34a52ee9d71cd0d91538025b39edc;hb=67aacda56e0c89f073a02071a07ea1e3d5551fe7;hp=f086268faf1c9e3abec4b529cf3a5f7ca6e01055;hpb=f5d961acea5bee7c3b38c0b31119a9998fa97667;p=Mograsim.git diff --git a/plugins/net.mograsim.logic.core/src/net/mograsim/logic/core/timeline/PauseableTimeFunction.java b/plugins/net.mograsim.logic.core/src/net/mograsim/logic/core/timeline/PauseableTimeFunction.java index f086268f..b1bfcf3a 100644 --- a/plugins/net.mograsim.logic.core/src/net/mograsim/logic/core/timeline/PauseableTimeFunction.java +++ b/plugins/net.mograsim.logic.core/src/net/mograsim/logic/core/timeline/PauseableTimeFunction.java @@ -46,7 +46,7 @@ public class PauseableTimeFunction implements LongSupplier public void setSpeedFactor(double factor) { if (factor <= 0) - throw new IllegalArgumentException("time factor can't be smaller than 1"); + throw new IllegalArgumentException("time factor can't be less than or equal to 0"); if (!paused) { pause();