mirror of
https://github.com/Aurorastation/Aurora.3.git
synced 2026-07-16 02:17:06 +01:00
Fix printer handout runtime (#21637)
# Summary This PR fixes a runtime when printers eject paper without a mob being nearby (mainly automated console printouts). ## Changes - Add mob check when printer handout papers.
This commit is contained in:
@@ -29,7 +29,8 @@
|
||||
P.color = paper_color
|
||||
|
||||
stored_paper--
|
||||
usr.put_in_hands(P, TRUE)
|
||||
if(ismob(usr))
|
||||
usr.put_in_hands(P, TRUE)
|
||||
return P
|
||||
|
||||
/obj/item/computer_hardware/nano_printer/attackby(obj/item/attacking_item, mob/user)
|
||||
|
||||
Reference in New Issue
Block a user