procs
This commit is contained in:
@@ -8,7 +8,7 @@
|
||||
reaction = new r
|
||||
if(!reaction.exclude)
|
||||
. += reaction
|
||||
sortTim(., /proc/cmp_gas_reaction)
|
||||
sortTim(., GLOBAL_PROC_REF(cmp_gas_reaction))
|
||||
|
||||
/proc/cmp_gas_reaction(datum/gas_reaction/a, datum/gas_reaction/b) // compares lists of reactions by the maximum priority contained within the list
|
||||
return b.priority - a.priority
|
||||
|
||||
Reference in New Issue
Block a user