mirror of
https://github.com/ParadiseSS13/Paradise.git
synced 2026-07-13 16:13:19 +01:00
Reverts Slime/IPC Imitation Cosmetics (#28695)
* Initial commit * Removes unused define * oops
This commit is contained in:
@@ -17,13 +17,9 @@
|
||||
var/list/whitelist
|
||||
var/list/blacklist
|
||||
|
||||
/// Temporary holder when we first initialize the TGUI, we store this as our owner's previous subtype so we can tell when it updates.
|
||||
var/owner_subtype
|
||||
|
||||
/datum/ui_module/appearance_changer/New(datum/host, mob/living/carbon/human/H, check_species_whitelist = TRUE, list/species_whitelist = list(), list/species_blacklist = list())
|
||||
..()
|
||||
owner = H
|
||||
owner_subtype = owner.dna.species.species_subtype
|
||||
head_organ = owner.get_organ("head")
|
||||
check_whitelist = check_species_whitelist
|
||||
whitelist = species_whitelist
|
||||
@@ -218,11 +214,7 @@
|
||||
ui.open()
|
||||
|
||||
/datum/ui_module/appearance_changer/ui_data(mob/user)
|
||||
if(user.dna.species.species_subtype != owner_subtype)
|
||||
owner_subtype = user.dna.species.species_subtype
|
||||
cut_and_generate_data()
|
||||
else
|
||||
generate_data(check_whitelist, whitelist, blacklist)
|
||||
generate_data(check_whitelist, whitelist, blacklist)
|
||||
var/list/data = list()
|
||||
|
||||
data["specimen"] = owner.dna.species.name
|
||||
|
||||
Reference in New Issue
Block a user