From f7e926426457c752d117a47796f5387b1bdc76c7 Mon Sep 17 00:00:00 2001 From: Sharkmare <34294231+Sharkmare@users.noreply.github.com> Date: Fri, 8 Mar 2019 11:26:17 +0100 Subject: [PATCH] Update mobjects.dm --- code/modules/mob/living/simple_animal/mobject/mobjects.dm | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/code/modules/mob/living/simple_animal/mobject/mobjects.dm b/code/modules/mob/living/simple_animal/mobject/mobjects.dm index 85a90d5474..61301d7b1d 100644 --- a/code/modules/mob/living/simple_animal/mobject/mobjects.dm +++ b/code/modules/mob/living/simple_animal/mobject/mobjects.dm @@ -12,7 +12,7 @@ mob/living/simple_animal/mobject var/obj_on var/willanchor = 1 //Var that decides if obj state is anchored or not //Unanchored mobjects will wander in object mode. var/norest = 1 //Var that makes mobject in animal state unrest automatically //simple workaround to infinite resting - var/on + var/on = 1 //Just another var to turn off the mob object processing mob/living/simple_animal/mobject/New() ..() @@ -37,11 +37,10 @@ mob/living/simple_animal/mobject/Life() anchored = !anchored ..() -mob/living/simple_animal/mobject/proc/process() - if(on) +mob/living/simple_animal/mobject/proc/process() //proccess performed instead of Life in OBJ form. + if(!on) return //A way to disable process() - //proccess performed instead of Life in OBJ form. return //Currently does nothing //Mobject engineering will Probably be first, basically a Synthetic Mob that can be wrenched into active object mode