Merge pull request #6650 from Citadel-Station-13/upstream-merge-37659

[MIRROR] Crayons no longer use charge when used on a canvas
This commit is contained in:
CitadelStationBot
2018-05-05 09:35:01 -05:00
committed by GitHub

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