Join_chat()
for(var/Channel_DM/c in channels)
world<<c.c_name
var/Channel_DM/chat = input(src,"What channel?")in channels
chat.Join(src)
Problem description:
If I run the program, it successfully outputs the names of all the Channel_DM datums in the channels list, however it never actually pops up with the input box for the Channel_DM I wish to select, but instead always selects the first item in the list.
Is this the normal behavior for Datums, and do I need to work around it, or am I doing something else wrong?