mob
Move()
if(src.frozen||src.moving||src.npc)
return
if(src.client)
if(src.inshikai||src.inbankai)
if(src.stype == "Rukia")
var/K = new/obj/rukiadust(src.loc)
K:dir = src.dir
if(src.bankai == 1)
if(src.stype == "Fire")
if(src.inshikai == 1)
var/F = new/obj/bountofiretrail(src.loc)
F:dir = src.dir
src.moving = 1
if(usr.race == "Inoue")
for(var/obj/inoueshield/S in world)
if(S.owner == src)
S.density = 0
..()
if(usr.race == "Inoue")
for(var/obj/inoueshield/S in world)
if(S.owner == src)
S.loc=locate(src.x,src.y,src.z)
S.density = 0
step(S,src.dir)
S.density = 1
sleep(src.rundelay)
src.moving = 0
Problem description:I have be getting lag on my Dream Seeker, I tracked the problem to this. Anyone see anything that will cause lag?
Define what precisely is 'lag', what are you experiencing and how have you tracked it down to this Move() override? Maybe the bottleneck is actually something stuck in an infinite loop (or similar) that keeps calling Move(), etc?