Merge pull request #38683 from AnturK/anomalyfix
Fixes anomaly area selection.
This commit is contained in:
@@ -488,6 +488,11 @@
|
||||
for(var/key in key_list)
|
||||
. |= key_list[key]
|
||||
|
||||
/proc/make_associative(list/flat_list)
|
||||
. = list()
|
||||
for(var/thing in flat_list)
|
||||
.[thing] = TRUE
|
||||
|
||||
//Picks from the list, with some safeties, and returns the "default" arg if it fails
|
||||
#define DEFAULTPICK(L, default) ((islist(L) && length(L)) ? pick(L) : default)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user