mirror of
https://github.com/Bubberstation/Bubberstation.git
synced 2026-01-02 13:02:38 +00:00
re-adds list of components for admins to remove (#82461)
## About The Pull Request The list of components on a mob when admins try to remove one didn't actually show them, now it does.  ## Why It's Good For The Game Messing with components/elements on mobs are such a pain, in this case was broken entirely.  ## Changelog 🆑 admin: Removing components button now lists components to remove /🆑
This commit is contained in:
@@ -98,9 +98,7 @@
|
||||
if(!check_rights(NONE))
|
||||
return
|
||||
var/mass_remove = href_list[VV_HK_MASS_REMOVECOMPONENT]
|
||||
var/list/components = list()
|
||||
for(var/datum/component/component in target.GetComponents(/datum/component))
|
||||
components += component.type
|
||||
var/list/components = target._datum_components.Copy()
|
||||
var/list/names = list()
|
||||
names += "---Components---"
|
||||
if(length(components))
|
||||
|
||||
Reference in New Issue
Block a user