I thought hasvar was a builtin but I was mistaken, these are equivalent to that code so run the same speed or a little faster

Sent from my iPod.

On May 29, 2014, at 4:16 AM, Miauw62 <notifications@github.com> wrote:

> In code/game/mecha/mech_fabricator.dm:
> 
> > @@ -355,6 +355,11 @@
> >  
> >  /obj/machinery/mecha_part_fabricator/proc/build_part(var/obj/item/part)
> >  	if(!part) return
> > +	
> > +	 // critical exploit prevention, do not remove unless you replace it -walter0o
> > +	if( !(locate(part, src.contents)) || !(part.vars.Find("construction_time")) || !(part.vars.Find("construction_cost")) ) // these 3 are the current requirements for an object being buildable by the mech_fabricator
> And as Sayu said, please make these hasvar() calls.
> 
> \
> Reply to this email directly or view it on GitHub.