Remove wired device overlay markers

This commit is contained in:
Your Name 2026-08-12 14:52:06 -04:00
parent 176216df8e
commit 9b5b9ce182
2 changed files with 0 additions and 21 deletions

View file

@ -1,7 +1,5 @@
require "door"
local Wire = require "wire"
WiredDoor = class("WiredDoor", Door)
function WiredDoor:initialize(x, y, color, circuitId)
@ -18,13 +16,3 @@ function WiredDoor:setPowered(powered, canClose)
end
self:refreshSprites()
end
function WiredDoor:draw(channel)
Entity.draw(self, channel)
if not self.sprites[channel] then return end
local p = self:getDrawPos()
local color = Wire.color(self.circuitId)
love.graphics.setColor(color[1], color[2], color[3], 1)
love.graphics.setLineWidth(math.max(1, drawScale))
love.graphics.circle("line", p.x + 8 * drawScale, p.y + 8 * drawScale, 3 * drawScale)
end