Spaces:
Running
Running
Add random seed to avoid duplicate simulationNames
Browse files
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",
|