Setting simulation speed higher should no longer have an effect on logic
[Mograsim.git] / plugins / net.mograsim.logic.model / src / net / mograsim / logic / model / LogicExecuter.java
index c106121..c0cfeb1 100644 (file)
@@ -41,7 +41,7 @@ public class LogicExecuter
                        {
                                while (shouldBeRunningLive.get())
                                {
-                                       long current = tf.getAsLong();
+                                       long current = tf.getTime();
                                        timeline.executeUntil(timeline.laterThan(current), System.currentTimeMillis() + 10);
                                        long nextEventTime = timeline.nextEventTime();
                                        long sleepTime;