From aa6181008336d2f99b7f4c2ede8ca5f6b0652fd9 Mon Sep 17 00:00:00 2001 From: xxalpha Date: Sat, 11 Jun 2016 17:49:22 +0100 Subject: [PATCH] var name --- code/game/objects/effects/decals/crayon.dm | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/code/game/objects/effects/decals/crayon.dm b/code/game/objects/effects/decals/crayon.dm index f1333ce5023..c629ff1e768 100644 --- a/code/game/objects/effects/decals/crayon.dm +++ b/code/game/objects/effects/decals/crayon.dm @@ -12,7 +12,7 @@ return -/obj/effect/decal/cleanable/crayon/New(location, main = "#FFFFFF", var/type = "rune1", var/e_name = "rune", var/rotation = 0, icon = null) +/obj/effect/decal/cleanable/crayon/New(location, main = "#FFFFFF", var/type = "rune1", var/e_name = "rune", var/rotation = 0, var/alt_icon = null) ..() loc = location @@ -21,8 +21,8 @@ if(type == "poseur tag") type = pick(gang_name_pool) - if(icon) - src.icon = icon + if(alt_icon) + icon = alt_icon icon_state = type if(rotation && do_icon_rotate)