mirror of
https://github.com/rr-/pq-cli.git
synced 2026-09-28 22:33:59 -06:00
misc: fix seed type issue
This commit is contained in:
+1
-1
@@ -922,7 +922,7 @@ def create_player(
|
||||
name: str, race: Race, class_: Class, stats: Stats
|
||||
) -> Player:
|
||||
now = datetime.datetime.now()
|
||||
random.seed(now)
|
||||
random.seed(str(now))
|
||||
player = Player(
|
||||
birthday=now, name=name, race=race, class_=class_, stats=stats
|
||||
)
|
||||
|
||||
Reference in New Issue
Block a user