diff --git a/code/_onclick/hud/ghost.dm b/code/_onclick/hud/ghost.dm index 1ea9325e891a..50bf9c922264 100644 --- a/code/_onclick/hud/ghost.dm +++ b/code/_onclick/hud/ghost.dm @@ -73,8 +73,9 @@ static_inventory += using /datum/hud/ghost/show_hud(version = 0, mob/viewmob) - if(!..()) - return FALSE + . = ..() + if(!.) + return var/mob/screenmob = viewmob || mymob if(!screenmob.client.prefs.ghost_hud) screenmob.client.screen -= static_inventory diff --git a/code/_onclick/hud/hud.dm b/code/_onclick/hud/hud.dm index 46162d99fbd6..5693e9c47ed2 100644 --- a/code/_onclick/hud/hud.dm +++ b/code/_onclick/hud/hud.dm @@ -205,13 +205,16 @@ return TRUE /datum/hud/human/show_hud(version = 0,mob/viewmob) - if(!..()) - return FALSE + . = ..() + if(!.) + return var/mob/screenmob = viewmob || mymob hidden_inventory_update(screenmob) /datum/hud/robot/show_hud(version = 0, mob/viewmob) - ..() + . = ..() + if(!.) + return update_robot_modules_display() /datum/hud/proc/hidden_inventory_update()