mirror of
https://github.com/Aurorastation/Aurora.3.git
synced 2026-08-25 22:12:58 +01:00
Repath a bunch of things to /mob/abstract childtypes (#4111)
* Repaths eyes, observers, dview, and new_players to /mob/abstract subtypes. * Adds /mob/abstract, a base type for 'abstract' mobs that aren't meant to be directly affected by the game world.
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/abstract))
|
||||
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/abstract/observer))
|
||||
candidates |= player
|
||||
|
||||
if(!candidates.len)
|
||||
|
||||
Reference in New Issue
Block a user