Fixes a nullrod runtime

This commit is contained in:
CitadelStationBot
2017-04-19 14:06:44 -05:00
parent ce577dc22c
commit 0b9ed09965
@@ -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