diff --git a/Scripts/UI/prototype_credits.gd b/Scripts/UI/prototype_credits.gd index 715f842..a92e785 100644 --- a/Scripts/UI/prototype_credits.gd +++ b/Scripts/UI/prototype_credits.gd @@ -1,6 +1,6 @@ extends Control -@onready var yonic_credits = $VBoxContainer/HBoxContainer/Yonic +@onready var yonic_credits = $VBoxContainer/HBoxContainer/Yonic/Name @onready var reward_hint = $VBoxContainer/RewardHint @onready var reward_hint_label = $VBoxContainer/RewardHint/Label @@ -14,7 +14,8 @@ var opacity_to = 0.0 var reward_unlocked = false func _ready(): - yonic_credits.visible = !Globals.nsfw + if Globals.nsfw: + yonic_credits.text = "Anonymous" modulate.a = opacity_from func _process(delta):