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 12:03:14 +03:00
committed by skull132
parent 780d8805de
commit d0fcc77f31
7 changed files with 12 additions and 253 deletions
+1 -1
View File
@@ -21,7 +21,7 @@
player_laws = new()
init_subtypes(/datum/ai_laws, admin_laws)
admin_laws = dd_sortedObjectList(admin_laws)
sortTim(admin_laws, /proc/cmp_name_asc)
for(var/datum/ai_laws/laws in admin_laws)
if(laws.selectable)