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:
FabianK3
2025-12-01 00:10:00 +01:00
committed by GitHub
parent 6661e15344
commit 93ed3d812d
2 changed files with 8 additions and 1 deletions
@@ -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)