Fixes a nullrod runtime (#26360)

* Fixes a nullrod runtime

* Of course
This commit is contained in:
Cyberboss
2017-04-19 13:06:30 -06:00
committed by duncathan salt
parent 5d61c5b64e
commit dc26511b7b
@@ -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