瀏覽代碼

seed the random with 42 to make dev easier

Bastien Sevajol 8 年之前
父節點
當前提交
4f5bae1c7e
共有 1 個文件被更改,包括 2 次插入1 次删除
  1. 2 1
      config.py

+ 2 - 1
config.py 查看文件

@@ -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,