Skip to content

Commit

Permalink
Fixes ghost drone glowy bits! (#1785)
Browse files Browse the repository at this point in the history
  • Loading branch information
makkipakki committed Aug 11, 2020
1 parent f9d4df6 commit d2141f0
Showing 1 changed file with 2 additions and 7 deletions.
9 changes: 2 additions & 7 deletions code/mob/living/silicon/ghostdrone.dm
Original file line number Diff line number Diff line change
Expand Up @@ -60,8 +60,6 @@
var/obj/item/cell/cerenkite/charged/CELL = new /obj/item/cell/cerenkite/charged(src)
src.cell = CELL

src.add_sm_light("ghostdrone\ref[src]", list(255,255,255,0.4 * 255), directional = 1)


src.health = src.max_health
src.botcard.access = list(access_maint_tunnels, access_ghostdrone, access_engineering,access_external_airlocks,
Expand Down Expand Up @@ -274,10 +272,7 @@

if (length(color) == 7) //Set our luminosity color, if valid
var/colors = GetColors(src.faceColor)
colors[1] = colors[1] / 255
colors[2] = colors[2] / 255
colors[3] = colors[3] / 255
src.add_sm_light("ghostdrone\ref[src]", list(colors[1],colors[2],colors[3],0.4 * 255), directional = 1)
src.add_sm_light("ghostdrone\ref[src]", list(colors[1],colors[2],colors[3],0.4 * 255))



Expand Down Expand Up @@ -324,7 +319,7 @@
src.icon_state = "g_drone-dead"

if (!isdead(src))
src.add_sm_light("ghostdrone\ref[src]", list(0.94*255,0.88*255,0.12*255,0.4 * 255), directional = 1)
src.add_sm_light("ghostdrone\ref[src]", list(0.94*255,0.88*255,0.12*255,0.4 * 255))
UpdateOverlays(null, "face")
UpdateOverlays(null, "hoverDiscs")
animate(src) //stop bumble animation
Expand Down

0 comments on commit d2141f0

Please sign in to comment.