Particles ignore any changes to their count var unless the new value is greater than the current one
Numbered Steps to Reproduce Problem:
1. Create a particle
2. Increase the count, notice number of particles increase
3. Lower count, notice number of particles unchanged
4. Set count to 0, notice number of particles still unchanged
Code Snippet (if applicable) to Reproduce Problem:
/particles/pink_pixel_demo
color = "#FF00FF"
count = 1
spawning = 1
lifespan = 10
gravity = list(0,1)
/obj/thing
particles = new/particles/pink_pixel_demo
proc/increase_count()
particles.count++
proc/reset_count()
particles.count = 1
Expected Results:
count limits the count of particles
Actual Results:
count only ever limits particles to its highest ever value
Does the problem occur:
Every time? Or how often?every time
In other games?yes
In other user accounts?yes
On other computers?yes
When does the problem NOT occur?
Did the problem NOT occur in any earlier versions? If so, what was the last version that worked? (Visit http://www.byond.com/download/build to download old versions for testing.)unknown
Workarounds:none