Merge branch 'master' of https://github.com/Citadel-Station-13/Citadel-Station-13 into update-to-action-buttons
This commit is contained in:
@@ -1356,6 +1356,11 @@
|
||||
if(filter_data && filter_data[name])
|
||||
return filters[filter_data.Find(name)]
|
||||
|
||||
/// Returns the indice in filters of the given filter name.
|
||||
/// If it is not found, returns null.
|
||||
/atom/proc/get_filter_index(name)
|
||||
return filter_data?.Find(name)
|
||||
|
||||
/atom/proc/remove_filter(name_or_names)
|
||||
if(!filter_data)
|
||||
return
|
||||
|
||||
Reference in New Issue
Block a user