This is a read-only snapshot of the ComputerCraft forums, taken in April 2020.
Marikc0's profile picture

Setbackgroundcolor Removed From Code Still Persists

Started by Marikc0, 15 November 2013 - 04:17 PM
Marikc0 #1
Posted 15 November 2013 - 05:17 PM
After setting a background color for an advanced monitor and then removing the code, the monitor still displays green. Prior to this I tried orange. I didn't like orange, so I removed that from the code, then changed it to lime. That resulted in a half lime, half orange monitor. I added a mon.clear() after the setBackgroundColor(colors.lime) and that cleared the orange, but now that both colors are removed from the code, only lime remains.

What exactly is going on here? How is code that doesn't exist effecting the monitor?

Lyqyd #2
Posted 15 November 2013 - 08:44 PM
The monitors will remember the last color set on them under various circumstances. You could try restarting the computers attached to them (if they're directly attached to a single computer), or just set the background color to black and clear them.