ID:143506
 
Code:
mob/create_character
var/mob/character
name = "Project 4.0"
Login()


usr.loc=locate(/area/charactercreation)
usr << sound('opening.mid',1)
var/charactername = input("Hello, please name your character.","Character Name?",src.key)
switch(input("Choose a class.","Character Class?") in list("Warrior","Mage"))
if("Warrior")
character = new /mob/player/warrior //Looking up the path "/mob/player/warrior"
usr.loc=locate(/area/start)
if("Mage")
character = new /mob/player/mage //Looking up the path "/mob/player/mage"
usr.loc=locate(/area/start)


character.name = charactername
src.client.mob = character


..()


Problem description:
The usr.loc=locate(/area/start) isn't working properly. Everythings fine, I teleport to the same map, but instead of going to the start area, I go to 1,1,1. But the first one, which is the same but to charactercreation, works. Can anybody think of why this happens? Also, I never had this problem before 4.0 oddly, not saying it has anything to do with 4.0.

You're using ..() at the end. Look up mob/Login() in the DM Reference and see what the default (..()) behavior is.
In response to Foomer
I took that out and it does nothing. Problem still persists.
In response to Cloudiroth
Oh. In that case you should probably move the character that you're transferring the mob to instead of moving 'usr' (and you shouldn't be using 'usr' in procs anyway.)
In response to Foomer
BAHHHH It worked.. haha, thanks alot foomer.