ID:152813
 
I have problems removing my hud, a strip always stays in the bottom so I made this...
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?
I usually do something like that, except no while() loop.
Perhaps client.screen=list()?
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