mirror of
https://github.com/vgstation-coders/vgstation13.git
synced 2025-12-09 16:14:13 +00:00
Fixes the crayon decal runtime (#22289)
decal/cleanable had different new args than the crayon, so it was doing weird things like comparing a string to 1
This commit is contained in:
@@ -66,7 +66,7 @@ var/global/list/all_graffitis = list(
|
||||
colour = "#DA00FF"
|
||||
shadeColour = "#810CFF"
|
||||
colourName = "purple"
|
||||
|
||||
|
||||
/obj/item/toy/crayon/black
|
||||
icon_state = "crayonblack"
|
||||
colour = "#222222"
|
||||
@@ -192,7 +192,7 @@ var/global/list/all_graffitis = list(
|
||||
C.maptext = "[maptext_start][preference][maptext_end]"
|
||||
|
||||
else
|
||||
C = new /obj/effect/decal/cleanable/crayon(target,colour,shadeColour,drawtype)
|
||||
C = new /obj/effect/decal/cleanable/crayon(target, main = colour, shade = shadeColour, type = drawtype)
|
||||
|
||||
if(target.density && (C.loc != get_turf(user))) //Drawn on a wall (while standing on a floor)
|
||||
C.forceMove(get_turf(user))
|
||||
|
||||
Reference in New Issue
Block a user