List stuff (#2932)

changes:

Converted some list procs to macros (why the fuck was islist() a proc?!)
Removed some old sorting procs and replaced their few remaining calls with sortTim() calls.
This commit is contained in:
Lohikar
2017-07-03 04:03:14 -05:00
committed by skull132
parent 780d8805de
commit d0fcc77f31
7 changed files with 12 additions and 253 deletions
@@ -189,7 +189,7 @@
src.ears = headset_to_add
usr << "You fit the headset onto [src]."
clearlist(available_channels)
LAZYCLEARLIST(available_channels)
for(var/ch in headset_to_add.channels)
switch(ch)
if("Engineering")
@@ -293,7 +293,7 @@
speak.Remove(pick(speak))
speak.Add(pick(speech_buffer))
clearlist(speech_buffer)
LAZYCLEARLIST(speech_buffer)
//-----SLEEPING