Fix Generators

This commit is contained in:
2025-08-03 19:25:14 +01:00
parent e0bd9295c7
commit 702aaeb570
15 changed files with 13 additions and 39 deletions
-2
View File
@@ -4,7 +4,6 @@ import (
"encoding/json"
"math/rand"
"os"
"time"
)
type BugbearArrays struct {
@@ -29,7 +28,6 @@ func LoadBugbearArrays(path string) (*BugbearArrays, error) {
}
func BugbearNameMas(arr *BugbearArrays, checkSwear func(string) bool) string {
rand.Seed(time.Now().UnixNano())
nTp := rand.Intn(3)
rnd := rand.Intn(len(arr.Nm1))
rnd2 := rand.Intn(len(arr.Nm4))