Revert Better thralls list handling, maybe?

Attempted fix at #204. The list handling is REALLY funky and probably needs a proper refractor. But I'm too loaded with projects to deal with this atm, so bandaid fix it is.

(reverted from commit 4643217e6e)
This commit is contained in:
skull132
2016-03-25 18:26:26 +02:00
parent 4643217e6e
commit e7e4a32266

View File

@@ -553,10 +553,9 @@
src << "<b>\red SOMETHING WENT WRONG, YELL AT POMF OR NEXIS</b>" src << "<b>\red SOMETHING WENT WRONG, YELL AT POMF OR NEXIS</b>"
return 0 return 0
var/ref = "\ref[src.mind]" var/ref = "\ref[src.mind]"
if(!(src.mind.vampire.thralls[ref])) if(!(src.mind.vampire.thralls))
src.mind.vampire.thralls += ref src.mind.vampire.thralls[ref] = list(H.mind)
src.mind.vampire.thralls[ref] = list() else
src.mind.vampire.thralls[ref] += H.mind src.mind.vampire.thralls[ref] += H.mind
//msg_scopes("[H.name] Changed in handle_enthrall") //purely here to see live changes incase of unexpected things //msg_scopes("[H.name] Changed in handle_enthrall") //purely here to see live changes incase of unexpected things
src.mind.vampire.enthralled.Add(H.mind) src.mind.vampire.enthralled.Add(H.mind)