Skip to content

Commit 672de9f

Browse files
committed
fix: 🐛 Fixed a missing name prop in the if statement
1 parent 5afac7e commit 672de9f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

root/mods-unpacked/GodotModding-UserProfile/content/UserProfiles.gd

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,7 @@ func _populate_profile_select() -> void:
6161
profile_select.clear()
6262

6363
for user_profile in ModLoaderUserProfile.get_all_as_array():
64-
var is_current_profile := true if ModLoaderStore.current_user_profile == user_profile.name else false
64+
var is_current_profile := true if ModLoaderUserProfile.get_current().name == user_profile.name else false
6565
profile_select.add_item(user_profile.name + text_current_profile if is_current_profile else user_profile.name)
6666

6767
# Get the item index of the current profile

0 commit comments

Comments
 (0)