Merge pull request #3728 from Citadel-Station-13/upstream-merge-32109
[MIRROR] Fixes a common runtime on prefs screen
This commit is contained in:
@@ -121,14 +121,22 @@
|
||||
O.transfer_to_limb(src, C)
|
||||
|
||||
update_icon_dropped()
|
||||
forceMove(T)
|
||||
C.update_health_hud() //update the healthdoll
|
||||
C.update_body()
|
||||
C.update_hair()
|
||||
C.update_canmove()
|
||||
|
||||
if(!T) // T = null happens when a "dummy human" used for rendering icons on prefs screen gets its limbs replaced.
|
||||
qdel(src)
|
||||
return
|
||||
|
||||
if(is_pseudopart)
|
||||
drop_organs(C) //Psuedoparts shouldn't have organs, but just in case
|
||||
qdel(src)
|
||||
return
|
||||
|
||||
forceMove(T)
|
||||
|
||||
|
||||
|
||||
//when a limb is dropped, the internal organs are removed from the mob and put into the limb
|
||||
|
||||
Reference in New Issue
Block a user