Crayons no longer use charge when used on a canvas

This commit is contained in:
oranges
2018-05-04 02:30:24 +00:00
committed by CitadelStationBot
parent f27088a346
commit d5be66cf9a

View File

@@ -247,6 +247,8 @@
var/cost = 1
if(paint_mode == PAINT_LARGE_HORIZONTAL)
cost = 5
if(istype(target, /obj/item/canvas))
cost = 0
var/charges_used = use_charges(user, cost)
if(!charges_used)
return