Skip to content

Fixes a runtime on null mybag when removing bags from janicart

Rob Nelson requested to merge pull/8525/janicart-bag-runtime into Bleeding-Edge

Created by: gbasood

runtime error: Cannot execute null.forceMove().
proc name: Remove Trash Bag (/obj/structure/bed/chair/vehicle/janicart/verb/remove_trashbag)
  source file: janicart.dm,76
  usr: Mavis Reed (/mob/living/carbon/human)
  src: the upgraded janicart (/obj/structure/bed/chair/vehicle/janicart)
  usr.loc: the floor (265,242,1) (/turf/simulated/floor)
  src.loc: the floor (265,241,1) (/turf/simulated/floor)
  call stack:
the upgraded janicart (/obj/structure/bed/chair/vehicle/janicart): Remove Trash Bag()

Merge request reports