mob/proc/Del_hud()
for(var/obj/hud/D in src.client.screen)
while(D in src.client.screen)
del(D)
It works, but is there a more "robust" way to do it?
ID:152813
Sep 28 2005, 1:49 pm
|
|
I have problems removing my hud, a strip always stays in the bottom so I made this...
mob/proc/Del_hud() It works, but is there a more "robust" way to do it? |
In response to Hell Ramen
|
|
I only used while() because it would leave a few peices for no reason. Like, randomly delete whatever it wants then end. So I figured if it looped till everything was gone...yea
|
Perhaps client.screen=list()?