mirror of
https://github.com/Bubberstation/Bubberstation.git
synced 2026-08-26 22:50:26 +01:00
Revert "Wardens can alt-click-reskin their gloves to match their formal attire (#94382)"
This reverts commit c423d938d3.
This commit is contained in:
@@ -62,13 +62,6 @@
|
||||
var/obj/item/item_clear_from = clear_from
|
||||
RESET_INITIAL_IF_SET(item_clear_from, inhand_icon_state, new_icon_state)
|
||||
|
||||
/// Gets a preview image for this skin based on the given atom's icon and icon_state
|
||||
/datum/atom_skin/proc/get_preview_icon(atom/for_atom)
|
||||
return image(
|
||||
icon = new_icon || for_atom.icon,
|
||||
icon_state = new_icon_state || for_atom.icon_state,
|
||||
)
|
||||
|
||||
/**
|
||||
* ### Reskinnable atoms
|
||||
*
|
||||
@@ -180,7 +173,8 @@
|
||||
|
||||
var/list/items = list()
|
||||
for(var/reskin_name, reskin_typepath in get_skins_by_name())
|
||||
items[reskin_name] = GLOB.atom_skins[reskin_typepath].get_preview_icon(atom_parent)
|
||||
var/datum/atom_skin/reskin = GLOB.atom_skins[reskin_typepath]
|
||||
items[reskin_name] = image(icon = reskin.new_icon || atom_parent.icon, icon_state = reskin.new_icon_state || atom_parent.icon_state)
|
||||
|
||||
sort_list(items)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user