From 752d9c2c8c69b6eff2a9ebbc7f17100e0422af5f Mon Sep 17 00:00:00 2001 From: IMP1 Date: Thu, 5 Jan 2023 19:43:26 +0000 Subject: [PATCH] Fix random not being random --- scenes/PlayerAssignments.gd | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scenes/PlayerAssignments.gd b/scenes/PlayerAssignments.gd index 24da990..180006e 100644 --- a/scenes/PlayerAssignments.gd +++ b/scenes/PlayerAssignments.gd @@ -12,7 +12,7 @@ onready var _assignments: TabContainer = $TabContainer as TabContainer onready var _wipe: ScreenWipe = $Wipe as ScreenWipe func _ready(): - randomize() + _rng.randomize() var n := _rng.randi_range(0, game.possible_information.size() - 1) var secret: String = game.possible_information[n] for i in player_count: