Merge pull request #13929 from SteelSlayer/wiz-fix

Fixes wizard spell availability
This commit is contained in:
Fox McCloud
2020-07-26 18:14:30 -04:00
committed by GitHub
+1 -1
View File
@@ -610,7 +610,7 @@
var/entry_types = subtypesof(/datum/spellbook_entry) - /datum/spellbook_entry/item - /datum/spellbook_entry/summon - /datum/spellbook_entry/loadout
for(var/T in entry_types)
var/datum/spellbook_entry/E = new T
if(GAMEMODE_IS_WIZARD && E.is_ragin_restricted)
if(GAMEMODE_IS_RAGIN_MAGES && E.is_ragin_restricted)
qdel(E)
continue
entries |= E