this is my first forum post here. i've combed tutorials and faq's and i'm at my wit's end. i'll use a stripped down paraphrased example of the code
i have a list...
var/list/nominees = list()
...that mobs can sign up for once at an npc...
sign_up(var/mob/M in view(0))
if(M in nominees)
an obj has a verb that reads nominee list for mobs and displays them to be chosen from for a vote...
var/mob/M = input("Vote for...") in nominees
...but this list is always initially empty of mobs after world/New() (but not i think the text of mob names?)
...on world/Del() the list IS being saved. at world/New() the list IS being loaded. but mobs can still add themselves to list once upon each world load.
i'm thinking the list/nominees is getting redefined as a new list each startup? or the list of mob names is being saved as text perhaps? and when the world is loaded and the list is checked for mobs it ignores what's in list since it's not mobs? the whole 'voting system' works totally fine, except the candidate list after new world startup.
thanks to anyone crazy enough to help. i can send you the actual code if you'd like...