mirror of
https://github.com/CHOMPStation2/CHOMPStation2.git
synced 2025-12-11 10:43:20 +00:00
Merge pull request #1027 from Kelenius/mobCleanup
Changes types of ghosts and eyes
This commit is contained in:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user