mob/verb/attack(var/mob/M)
if(!M) M = locate(/mob/) in get_step(usr, usr.dir)
if(!M) return
M << "YOU WERE HIT FOR 25 LOL"
usr << "YOU ATTACKED [M.name] for 25 LOL"
Problem description:
I don't want to feel like an idiot posting a bug report on a coding problem. So, to make sure it is a bug, I'm posting here. Anyway, get_step() does not seem to be working correctly. Every time I click attack, I attack myself. I can't possibly be in two places at once (meaning my location and the location before me), so can anyone enlighten me? Perhaps it is something I am overlooking.