mirror of
https://github.com/sudoxnym/habitica.git
synced 2026-05-18 11:48:52 +00:00
bug with resetting done Todos
This commit is contained in:
parent
9e31292f55
commit
325d1b5079
1 changed files with 2 additions and 2 deletions
|
|
@ -23,9 +23,9 @@ class Habit < ActiveRecord::Base
|
|||
end
|
||||
h.score += value
|
||||
end
|
||||
h.done = false
|
||||
h.done = false if (h.habit_type==2)
|
||||
h.save
|
||||
end
|
||||
end
|
||||
|
||||
end
|
||||
end
|
||||
|
|
|
|||
Loading…
Reference in a new issue