[MIRROR] Fixes free Wizard spells (#1493)

* Merge pull request #54606 from ATH1909/dontneedlesslyyeetspellsonawhim

Fixes free Wizard spells

* Fixes free Wizard spells

Co-authored-by: 81Denton <32391752+81Denton@users.noreply.github.com>
This commit is contained in:
SkyratBot
2020-10-27 17:38:03 +00:00
committed by GitHub
co-authored by 81Denton
parent b2ece61930
commit 54101ca32b
3 changed files with 26 additions and 0 deletions
@@ -102,6 +102,8 @@
/obj/item/gun/ballistic/rifle/boltaction/enchanted/dropped()
. = ..()
guns_left = 0
magazine = null
chambered = null
/obj/item/gun/ballistic/rifle/boltaction/enchanted/proc/discard_gun(mob/living/user)
user.throw_item(pick(oview(7,get_turf(user))))