mirror of
https://github.com/CHOMPStation2/CHOMPStation2.git
synced 2025-12-11 02:34:00 +00:00
Merge pull request #8852 from PsiOmegaDelta/AutoGhost
Moving while dead now auto-ghosts you.
This commit is contained in:
@@ -188,7 +188,9 @@
|
|||||||
if(S.victim == mob)
|
if(S.victim == mob)
|
||||||
return
|
return
|
||||||
|
|
||||||
if(mob.stat==2) return
|
if(mob.stat==2)
|
||||||
|
mob.ghostize()
|
||||||
|
return
|
||||||
|
|
||||||
// handle possible Eye movement
|
// handle possible Eye movement
|
||||||
if(mob.eyeobj)
|
if(mob.eyeobj)
|
||||||
@@ -198,9 +200,6 @@
|
|||||||
|
|
||||||
if(isliving(mob))
|
if(isliving(mob))
|
||||||
var/mob/living/L = mob
|
var/mob/living/L = mob
|
||||||
if(L.incorporeal_move)//Move though walls
|
|
||||||
Process_Incorpmove(direct)
|
|
||||||
return
|
|
||||||
if(mob.client)
|
if(mob.client)
|
||||||
if(mob.client.view != world.view) // If mob moves while zoomed in with device, unzoom them.
|
if(mob.client.view != world.view) // If mob moves while zoomed in with device, unzoom them.
|
||||||
for(var/obj/item/item in mob.contents)
|
for(var/obj/item/item in mob.contents)
|
||||||
|
|||||||
Reference in New Issue
Block a user