Skip to content

Commit e59505e

Browse files
committed
fix: 🐛 disabling of mods not working
It was not possible to disable mods using the CheckBox because the wrong active state was sent in the `is_active_toggled` signal. closes #2
1 parent 672de9f commit e59505e

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

root/mods-unpacked/GodotModding-UserProfile/content/components/IsActiveToggle.gd

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,4 +14,5 @@ func _set_is_active(new_is_active: bool) -> void:
1414

1515

1616
func _on_IsActiveToggle_pressed() -> void:
17+
is_active = !is_active
1718
emit_signal("is_active_toggled", mod_id, is_active)

0 commit comments

Comments
 (0)