mirror of
https://github.com/Aurorastation/Aurora.3.git
synced 2026-08-27 15:01:04 +01:00
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.
This commit is contained in:
@@ -553,10 +553,11 @@
|
||||
src << "<b>\red SOMETHING WENT WRONG, YELL AT POMF OR NEXIS</b>"
|
||||
return 0
|
||||
var/ref = "\ref[src.mind]"
|
||||
if(!(src.mind.vampire.thralls))
|
||||
src.mind.vampire.thralls[ref] = list(H.mind)
|
||||
else
|
||||
src.mind.vampire.thralls[ref] += H.mind
|
||||
if(!(src.mind.vampire.thralls[ref]))
|
||||
src.mind.vampire.thralls += ref
|
||||
src.mind.vampire.thralls[ref] = list()
|
||||
|
||||
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
|
||||
src.mind.vampire.enthralled.Add(H.mind)
|
||||
src.mind.vampire.enthralled[H.mind] = src.mind
|
||||
|
||||
Reference in New Issue
Block a user