Merge pull request #1027 from Kelenius/mobCleanup

Changes types of ghosts and eyes
This commit is contained in:
Datraen
2016-03-18 13:50:47 -04:00
80 changed files with 224 additions and 224 deletions

View File

@@ -112,7 +112,7 @@
// Splatter anything under us that survived the explosion.
if(value != SD_EMPTY_TILE && T.contents.len)
for(var/atom/movable/AM in T)
if(AM.simulated && !istype(AM, /mob/dead))
if(AM.simulated && !istype(AM, /mob/observer))
qdel(AM)
// Also spawn doors and loot.
@@ -173,7 +173,7 @@
else
var/list/candidates = list()
for(var/client/player in clients)
if(player.mob && istype(player.mob, /mob/dead/observer))
if(player.mob && istype(player.mob, /mob/observer/dead))
candidates |= player
if(!candidates.len)