[MIRROR] fix some runtimes and an overlay overflow (#8210)

Co-authored-by: Kashargul <144968721+Kashargul@users.noreply.github.com>
This commit is contained in:
CHOMPStation2
2024-04-11 07:47:45 +02:00
committed by GitHub
co-authored by Kashargul
parent 57a0b4a5eb
commit 234aed941f
7 changed files with 22 additions and 20 deletions
+2
View File
@@ -163,6 +163,8 @@
page--
playsound(src, "pageturn", 50, 1)
if(href_list["remove"])
if(!pages.len)
return
var/obj/item/weapon/W = pages[page]
usr.put_in_hands(W)
pages.Remove(pages[page])