mirror of
https://github.com/Bubberstation/Bubberstation.git
synced 2026-08-27 07:08:00 +01:00
[MIRROR] Fixed type2parent behaving incorrectly for /mob and /turf (#418)
* Fixed type2parent behaving incorrectly for /mob and /turf (#53035) * Fixed type2parent behaving incorrectly for /mob and /turf Co-authored-by: pali <6pali6@gmail.com>
This commit is contained in:
@@ -459,9 +459,9 @@ GLOBAL_LIST_INIT(modulo_angle_to_dir, list(NORTH,NORTHEAST,EAST,SOUTHEAST,SOUTH,
|
||||
switch(child)
|
||||
if(/datum)
|
||||
return null
|
||||
if(/obj || /mob)
|
||||
if(/obj, /mob)
|
||||
return /atom/movable
|
||||
if(/area || /turf)
|
||||
if(/area, /turf)
|
||||
return /atom
|
||||
else
|
||||
return /datum
|
||||
|
||||
Reference in New Issue
Block a user