Merge pull request #482 from Citadel-Station-13/upstream-merge-26360

[MIRROR] Fixes a nullrod runtime
This commit is contained in:
LetterJay
2017-04-19 18:31:55 -05:00
committed by GitHub
@@ -31,7 +31,8 @@ Chaplain
B.item_state = SSreligion.bible_item_state
to_chat(H, "There is already an established religion onboard the station. You are an acolyte of [SSreligion.deity]. Defer to the Chaplain.")
H.equip_to_slot_or_del(B, slot_in_backpack)
var/obj/item/weapon/nullrod/N = new SSreligion.holy_weapon_type(H)
var/nrt = SSreligion.holy_weapon_type || /obj/item/weapon/nullrod
var/obj/item/weapon/nullrod/N = new nrt(H)
H.equip_to_slot_or_del(N, slot_in_backpack)
return
@@ -92,4 +93,4 @@ Chaplain
uniform = /obj/item/clothing/under/rank/chaplain
backpack_contents = list(/obj/item/device/camera/spooky = 1)
backpack = /obj/item/weapon/storage/backpack/cultpack
satchel = /obj/item/weapon/storage/backpack/cultpack
satchel = /obj/item/weapon/storage/backpack/cultpack