Fixes spellbook refund issue

This commit is contained in:
AnturK
2015-09-17 15:14:34 +02:00
parent fbaf81e01c
commit 2ddddc1cdb
+1 -1
View File
@@ -19,7 +19,7 @@
return 0
return 1
/datum/spellbook_entry/proc/Buy(mob/living/carbon/human/user,obj/item/weapon/spellbook/book) //return 1 on success
if(!S)
if(!S || qdeleted(S))
S = new spell_type()
//Check if we got the spell already