Trist4x commited on
Commit
8d8a0db
1 Parent(s): 324acde

Add random seed to avoid duplicate simulationNames

Browse files
Files changed (1) hide show
  1. cubzh.lua +2 -0
cubzh.lua CHANGED
@@ -1,3 +1,5 @@
 
 
1
  Modules = {
2
  gigax = "github.com/GigaxGames/integrations/cubzh:5025b99",
3
  pathfinding = "github.com/caillef/cubzh-library/pathfinding:f8c4315",
 
1
+ math.randomseed(math.floor(Time.UnixMilli() % 100000))
2
+
3
  Modules = {
4
  gigax = "github.com/GigaxGames/integrations/cubzh:5025b99",
5
  pathfinding = "github.com/caillef/cubzh-library/pathfinding:f8c4315",