ID:138905
 
Code:
mob
proc
add_hud()
new /HUD/BG(client)
// new /HUD/health_meter(client)

HUD
parent_type = /obj
icon = '_Menu.dmi'
layer = EFFECTS_LAYER
mouse_opacity = 0
New(client/C)
..()
C.screen.Add(src)
BG
icon = '_Menu.dmi'
icon_state = "BG"
screen_loc = "2,1 to 20,1"


Problem description:
Well, this is supposed to add the background for the HUD, however it isn't being added to the screen, regardless of the fact that this is the same system I used for Zombies! except instead of Add() I used C.screen+=src. I've tried both ways and it's to no avail. Any insight would be appreciated.
Are you positive it does not work? I copied and pasted using the same icon file name and state with it working perfectly.

Also, absolutely love the game you're working on.
In response to Neimo (#1)
I'm positive. It's starting to frustrate me. /:
Let me try updating BYOND.
In response to Kumorii (#2)
Why not try interfacing the hud as an alternative if it's not working for you?
See if C.screen contains anything before and after adding. If it contains, then output objects to see their icon and screen_loc variable values.
Also you could try to set higher layer, just in case.