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:
@@ -247,6 +247,8 @@
|
|||||||
var/cost = 1
|
var/cost = 1
|
||||||
if(paint_mode == PAINT_LARGE_HORIZONTAL)
|
if(paint_mode == PAINT_LARGE_HORIZONTAL)
|
||||||
cost = 5
|
cost = 5
|
||||||
|
if(istype(target, /obj/item/canvas))
|
||||||
|
cost = 0
|
||||||
var/charges_used = use_charges(user, cost)
|
var/charges_used = use_charges(user, cost)
|
||||||
if(!charges_used)
|
if(!charges_used)
|
||||||
return
|
return
|
||||||
|
|||||||
Reference in New Issue
Block a user