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 TieflingArrays struct {
@@ -30,7 +29,6 @@ func LoadTieflingArrays(path string) (TieflingArrays, error) {
}
func GenerateTieflingName(arr *TieflingArrays, gender string) string {
rand.Seed(time.Now().UnixNano())
switch gender {
case "female":
rnd := rand.Intn(len(arr.Nm4))