mirror of
https://github.com/ParadiseSS13/Paradise.git
synced 2026-07-15 17:13:46 +01:00
blocks hallucination on clientless mobs
why bother calculating all those things for clientless mobs ?
This commit is contained in:
@@ -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()
|
||||
|
||||
Reference in New Issue
Block a user