Aurorastation / Aurora.3

The code for Aurorastation's new base, forked from Baystation12.
http://aurorastation.org/
GNU Affero General Public License v3.0
139 stars 506 forks source link

[Bug]: Light replacers can stack do-afters on boxes, resulting in jank #19508

Open benbot16 opened 2 weeks ago

benbot16 commented 2 weeks ago

Checks

Location

Horizon

Describe the issue

When refilling light replacers from boxes, the do-after controlling the refill can be stacked. This allows you to refill the light replacer much faster than normal. Additionally, when stacked, each "set" of do-afters (any queued up before the first one completes) will consume the same lightbulb. Lightbulbs may also be generated on the floor/table the light box is on.

How to reproduce

  1. Get an empty light replacer
  2. Spam-click a replacement lights box
  3. Get a bunch of extra lights much faster than normal

Round ID

cuj-c6Nf

Staff ckey

N/A