Skip to content

Commit

Permalink
Fix random not being random
Browse files Browse the repository at this point in the history
  • Loading branch information
IMP1 committed Jan 5, 2023
1 parent ee78301 commit 752d9c2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion scenes/PlayerAssignments.gd
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down

0 comments on commit 752d9c2

Please sign in to comment.