mirror of
https://github.com/vgstation-coders/vgstation13.git
synced 2025-12-09 16:14:13 +00:00
SaMMI fixes (#31477)
* SaMMI fixes * Preserved ghost stuff * Removing pointless fix * Missed a line * Actual fix * Stop SaMMIs bumping open doors * Typo fix Co-authored-by: kanef <kanef9x@protonmail.com>
This commit is contained in:
@@ -86,10 +86,16 @@ var/creating_arena = FALSE
|
||||
icon_state = body.icon_state
|
||||
overlays = body.overlays
|
||||
*/
|
||||
|
||||
icon = body.icon
|
||||
icon_state = body.icon_state
|
||||
overlays = body.overlays
|
||||
|
||||
if(isSaMMI(body))
|
||||
var/mob/living/silicon/robot/mommi/sammi/SM = body
|
||||
icon = SM.ghost_icon
|
||||
icon_state = SM.ghost_icon_state
|
||||
overlays = SM.ghost_overlays
|
||||
else
|
||||
icon = body.icon
|
||||
icon_state = body.icon_state
|
||||
overlays = body.overlays
|
||||
|
||||
// No icon? Ghost icon time.
|
||||
if(isnull(icon) || isnull(icon_state))
|
||||
@@ -100,6 +106,9 @@ var/creating_arena = FALSE
|
||||
// END BAY SPOOKY GHOST SPRITES
|
||||
|
||||
gender = body.gender
|
||||
if(isSaMMI(body))
|
||||
var/mob/living/silicon/robot/mommi/sammi/SM2 = body
|
||||
name = SM2.ghost_name
|
||||
if(body.mind && body.mind.name)
|
||||
name = body.mind.name
|
||||
else
|
||||
|
||||
Reference in New Issue
Block a user