Update prisonlabor.dm (#14246)

This commit is contained in:
TheGamerdk
2022-05-28 18:20:42 +02:00
committed by GitHub
parent 67e1c9682d
commit 22cefea8bb

View File

@@ -31,7 +31,7 @@
if(pressing)
to_chat(user, "<span class='warning'>[src] already has a plate in it!</span>")
return FALSE
if(!istype(I, /obj/item/stack/license_plates/empty))
if(istype(I, /obj/item/stack/license_plates/empty))
var/obj/item/stack/license_plates/empty/plate = I
plate.use(1)
current_plate = new plate.type(src, 1) //Spawn a new single sheet in the machine