Selaa lähdekoodia

seed the random with 42 to make dev easier

Bastien Sevajol 8 vuotta sitten
vanhempi
commit
4f5bae1c7e
1 muutettua tiedostoa jossa 2 lisäystä ja 1 poistoa
  1. 2 1
      config.py

+ 2 - 1
config.py Näytä tiedosto

@@ -26,7 +26,8 @@ config = {
26 26
         'fpsmax': 2555,
27 27
         'debug': {
28 28
             'mainprocess': True,
29
-            'cycles': -1
29
+            'cycles': -1,
30
+            'seed': 42
30 31
         }
31 32
     },
32 33
     'simulations': simulations,