mirror of
https://github.com/Aurorastation/Aurora.3.git
synced 2026-01-01 04:52:16 +00:00
Runtime fixes:
- Robots being deleted passed the mmi object to the mob list instead of the mmi's brainmob - DNA injectors were checking for a user, but not for a mob. - DNA computers would try to modify the dna of a mob that no longer existed. git-svn-id: http://tgstation13.googlecode.com/svn/trunk@4239 316c924e-a436-60f5-8080-3fe189b3f50e
This commit is contained in:
@@ -65,7 +65,7 @@
|
||||
//Improved /N
|
||||
/mob/living/silicon/robot/Del()
|
||||
if(mmi)//Safety for when a cyborg gets dust()ed. Or there is no MMI inside.
|
||||
add_to_mob_list(mmi)
|
||||
add_to_mob_list(mmi.brainmob)
|
||||
var/turf/T = get_turf(loc)//To hopefully prevent run time errors.
|
||||
if(T)
|
||||
mmi.loc = T
|
||||
|
||||
Reference in New Issue
Block a user