Code:
mob
proc
SaveMute_List()
var/savefile/F = new("/lists/mute_list.sav")
var/list/Mute_List = list() << Mute_List
Error: Line 65: error:Mute_List: compile failed (possible infinite cross-reference loop)
1 error, 0 warnings (double-click on an error to jump to it)
Specific Line:
var/list/Mute_List = list() << Mute_List
Thank you for any help and your time.
--Lenox
Target << Arrow (the information to send)
The muted players would start from the list and go to the file, but in your line you have it starting from the list and going to... the same list re-created? O.o
Seriously, that line has been giving me a headache for a while. You're defining a list, and then trying to create it with list() and send itself into itself. I'm sorry, but I can't think of a better explanation as to why it's wrong. Hopefully, I can help you get it right. =)
I'm guessing you already have the list of muted people defined somewhere else, but you started grabbing for straws when you couldn't get it to work. So all you have to do is use that savefile variable you made as the target, and the list as the arrow.
F << list_of_muted_people