blocks hallucination on clientless mobs

why bother calculating all those things for clientless mobs ?
This commit is contained in:
Walter0o
2014-07-19 23:00:42 +02:00
committed by ZomgPonies
parent adef8d0f06
commit 06fa834c29
+2 -2
View File
@@ -22,7 +22,7 @@ mob/living/carbon/var
mob/living/carbon/proc/handle_hallucinations()
if(handling_hal) return
handling_hal = 1
while(hallucination > 20)
while(client && hallucination > 20)
sleep(rand(200,500)/(hallucination/25))
var/halpick = rand(1,100)
switch(halpick)
@@ -408,4 +408,4 @@ var/list/non_fakeattack_weapons = list(/obj/item/weapon/gun/projectile, /obj/ite
target << F.up
*/
F.updateimage()
F.updateimage()