fix critical bug

This commit is contained in:
ultrablob 2024-05-07 16:40:25 -04:00
parent 2228a84086
commit 0eea9e8cca
2 changed files with 2 additions and 2 deletions

View file

@ -11,7 +11,7 @@ func _ready():
if has_config:
$Menu/Username.text = config.get_value("config", "username")
$Menu/Controls.selected = 0 if config.get_value("config", "relative_controls") else 1
$Menu/Character.selected = CHARACTERS.find(config.get_value("gameplay", "class"))
$Menu/Character.selected = CHARACTERS.find(config.get_value("gameplay", "class", "res://player-row.tscn"))
func _process(delta):
check_valid("")

View file

@ -203,4 +203,4 @@ collision_mask = 3
[node name="LaserFX" type="AudioStreamPlayer2D" parent="." index="5"]
stream = ExtResource("8_6whae")
[connection signal="timeout" from="Laser/VisibleTimer" to="Laser" method="hide_self"]
[connection signal="timeout" from="Laser/VisibleTimer" to="Laser" method="set_transparent"]