Fixes bluespace bag recursion disappearance

This commit is contained in:
Heroman
2022-09-23 06:29:39 +10:00
parent de26e6be5b
commit d5e665bdbe
3 changed files with 4 additions and 2 deletions
+1
View File
@@ -3,6 +3,7 @@
desc = "NOTICE ME!"
icon = 'icons/mob/screen1_popups.dmi'
plane = PLANE_PLAYER_HUD_ABOVE
layer = INFINITY
var/close_button_x_start
+2 -1
View File
@@ -28,7 +28,8 @@
. += "[charging ? "[charging]" : "Nothing"] is in [src]."
if(charging)
var/obj/item/weapon/cell/C = charging.get_cell()
. += "Current charge: [C.charge] / [C.maxcharge]"
if(C) // Sometimes we get things without cells in it.
. += "Current charge: [C.charge] / [C.maxcharge]"
/obj/machinery/recharger/attackby(obj/item/weapon/G as obj, mob/user as mob)
var/allowed = 0
@@ -59,7 +59,7 @@
//Please don't clutter the parent storage item with stupid hacks.
/obj/item/weapon/storage/backpack/holding/can_be_inserted(obj/item/W as obj, stop_messages = 0)
if(istype(W, /obj/item/weapon/storage/backpack/holding))
return 1
return FALSE
return ..()
/obj/item/weapon/storage/backpack/santabag