lib/atome/genesis/particles/utility.rb in atome-0.5.6.8.6 vs lib/atome/genesis/particles/utility.rb in atome-0.5.6.8.7
- old
+ new
@@ -246,9 +246,9 @@
params
end
new({ particle: :tick, store: false }) do |val|
- @tick[val] ||= 0
+ @tick[val] ||= 1
@tick[val]= @tick[val] += 1
@tick[val]
end