Problem with Move proc. in Developer Help
|
|
Code:
Victory() var/mm=0 for(var/mob/monsters/M in oview(5)) if(M!=null) if (M.HP > 0) mm++ if(mm==0) var/Gained_Exp for(var/mob/monsters/M in oview(5)) Gained_Exp+=M.cexp del M src<<"Victory is at hand" src<<"You Gained [Gained_Exp] Experience!" src.close_menu() src.cexp+=Gained_Exp src.texp+=Gained_Exp src.inbattle=0 src.client.lazy_eye = 0 src.Bnum = 0 src.Move(locate(35,6,1))
|
Problem description: Well the problem is that the Move proc isnt returning the src back to start any ideas why.
|
src.loc = locate(35,6,1)