mirror of
https://github.com/yogstation13/Yogstation.git
synced 2025-02-26 09:04:50 +00:00
Fixes paper bins and moves paper to initialize (#27531)
This commit is contained in:
committed by
Leo
parent
4e8281c35e
commit
a811bb3269
@@ -44,8 +44,8 @@
|
||||
..()
|
||||
|
||||
|
||||
/obj/item/weapon/paper/New()
|
||||
..()
|
||||
/obj/item/weapon/paper/Initialize()
|
||||
. = ..()
|
||||
pixel_y = rand(-8, 8)
|
||||
pixel_x = rand(-9, 9)
|
||||
update_icon()
|
||||
|
||||
@@ -110,7 +110,7 @@
|
||||
papers.Add(P)
|
||||
total_paper++
|
||||
update_icon()
|
||||
else if(istype(I, /obj/item/weapon/pen))
|
||||
else if(istype(I, /obj/item/weapon/pen) && !bin_pen)
|
||||
var/obj/item/weapon/pen/P = I
|
||||
if(!user.transferItemToLoc(P, src))
|
||||
return
|
||||
|
||||
Reference in New Issue
Block a user