no old spans

This commit is contained in:
Kashargul
2024-10-01 08:41:15 +02:00
committed by GitHub
parent 3642df97f6
commit efd110d20f
+2 -2
View File
@@ -305,13 +305,13 @@ Extracted to its own procedure for easier logic handling with paper bundles.
else if(istype(O, /obj/item/toner))
if(toner <= 10) //allow replacing when low toner is affecting the print darkness
user.drop_item()
to_chat(user, "<span class='notice'>You insert the toner cartridge into \the [src].</span>")
to_chat(user, span_notice("You insert the toner cartridge into \the [src]."))
playsound(loc, 'sound/machines/click.ogg', 50, 1)
var/obj/item/toner/T = O
toner += T.toner_amount
qdel(O)
else
to_chat(user, "<span class='notice'>This cartridge is not yet ready for replacement! Use up the rest of the toner.</span>")
to_chat(user, span_notice("This cartridge is not yet ready for replacement! Use up the rest of the toner."))
playsound(loc, 'sound/machines/buzz-two.ogg', 75, 1)
return