bugfixes

Thu, 15 Dec 2011 18:27:06 +0100

author
Malte Bayer <mbayer@neo-soft.org>
date
Thu, 15 Dec 2011 18:27:06 +0100
changeset 82
c89221096db7
parent 81
4f2f94a043fd
child 83
c8e7a69a318a

bugfixes

slotUI/SlotCli.py file | annotate | diff | comparison | revisions
--- a/slotUI/SlotCli.py	Thu Dec 15 17:58:22 2011 +0100
+++ b/slotUI/SlotCli.py	Thu Dec 15 18:27:06 2011 +0100
@@ -82,7 +82,7 @@
             slt["status"] = self.slot_dummy["status"]
             slt["clk"] = 0
             idx += 1
-        self.bestlap = 0.00
+        self.bestlap = 99999.00
 
     def update_positions(self):
         order1 = sorted(self.slot, key=itemgetter(
@@ -231,7 +231,7 @@
                             cli.box.speedlimit(slot, 4)
                         if (self.slot[slot]["fuel_last"] == 1) and (f == 0):
                             # set speedlimit to 2
-                            cli.box.speedlimit(slot, 2)
+                            cli.box.speedlimit(slot, 3)
                         if (self.slot[slot]["fuel_last"] < f) and (f >= 11) and (f < 20):
                             cli.box.speedlimit(slot, 15)
                         if (self.slot[slot]["fuel_last"] < f) and (f == 100):

mercurial