PlayerData/var/autoLoad = 0
mob/BaseCamp/ChoosingCharacter
sight = SEE_THRU
Login()
var/PlayerData/p = worldData.playersData[ckey]
if(p && p.autoLoad)
var/list/available_char_names=client.base_CharacterNames()
if(available_char_names.len >= 1)
client.tmpInterface = new (client)
client.glide_size = GLIDE_SIZE
client.base_LoadMob(available_char_names[1])
del(src)
return
Problem description:
Getting an index error during runtime on
var/PlayerData/p = worldData.playersData[ckey]
Kind of new at this so if anyone could just point me to the right spot in byond to learn more about this, I'm fine with that. Thank you!