diff --git a/code/__HELPERS/global_lists.dm b/code/__HELPERS/global_lists.dm index 9e6a0052c96..82bac6d4557 100644 --- a/code/__HELPERS/global_lists.dm +++ b/code/__HELPERS/global_lists.dm @@ -133,7 +133,7 @@ var/datum/client_login_processor/CLP = new processor_type GLOB.client_login_processors += CLP // Sort them by priority, lowest first - sortTim(GLOB.client_login_processors, /proc/cmp_login_processor_priority) + sortTim(GLOB.client_login_processors, GLOBAL_PROC_REF(cmp_login_processor_priority)) GLOB.emote_list = init_emote_list() diff --git a/code/__HELPERS/icons.dm b/code/__HELPERS/icons.dm index 6c9a611861e..46049e777c6 100644 --- a/code/__HELPERS/icons.dm +++ b/code/__HELPERS/icons.dm @@ -755,8 +755,6 @@ The _flatIcons list is a cache for generated icon files. break layers[current] = current_layer - //sortTim(layers, /proc/cmp_image_layer_asc) - var/icon/add // Icon of overlay being added // Current dimensions of flattened icon diff --git a/code/__HELPERS/path.dm b/code/__HELPERS/path.dm index c3ba6fac0a4..10daae7ee77 100644 --- a/code/__HELPERS/path.dm +++ b/code/__HELPERS/path.dm @@ -127,7 +127,7 @@ /datum/pathfind/New(atom/movable/caller, atom/goal, id, max_distance, mintargetdist, simulated_only, avoid, diagonal_safety) src.caller = caller end = get_turf(goal) - open = new /datum/heap(/proc/HeapPathWeightCompare) + open = new /datum/heap(GLOBAL_PROC_REF(HeapPathWeightCompare)) sources = new() src.id = id src.max_distance = max_distance @@ -428,7 +428,7 @@ for(var/obj/iter_object in destination_turf) if(!iter_object.CanPathfindPass(ID, reverse_dir, caller, no_id = no_id)) return TRUE - + for(var/mob/living/iter_mob in destination_turf) if(!iter_mob.CanPathfindPass(ID, reverse_dir, caller, no_id = no_id)) return TRUE diff --git a/code/__HELPERS/qdel.dm b/code/__HELPERS/qdel.dm index cdd8a0ee6aa..794524d215e 100644 --- a/code/__HELPERS/qdel.dm +++ b/code/__HELPERS/qdel.dm @@ -15,7 +15,7 @@ * Proc intended to be used when someone wants the src datum to be qdeled when a certain signal is sent to them. * * Example usage: - * RegisterSignal(item, COMSIG_PARENT_QDELETING, /datum/proc/signal_qdel) + * RegisterSignal(item, COMSIG_PARENT_QDELETING, TYPE_PROC_REF(/datum, signal_qdel)) */ /datum/proc/signal_qdel() SIGNAL_HANDLER diff --git a/code/__HELPERS/unique_ids.dm b/code/__HELPERS/unique_ids.dm index cc98e1e6764..f0ef03d554f 100644 --- a/code/__HELPERS/unique_ids.dm +++ b/code/__HELPERS/unique_ids.dm @@ -81,7 +81,7 @@ GLOBAL_LIST_EMPTY(uid_log) if(!check_rights(R_DEBUG)) return - var/list/sorted = sortTim(GLOB.uid_log, cmp=/proc/cmp_numeric_dsc, associative = TRUE) + var/list/sorted = sortTim(GLOB.uid_log, GLOBAL_PROC_REF(cmp_numeric_dsc), TRUE) var/list/text = list("

UID Log

", "

Current UID: [GLOB.next_unique_datum_id]

", "