mirror of
https://github.com/CHOMPStation2/CHOMPStation2.git
synced 2025-12-11 10:43:20 +00:00
POLARIS: 3000% human/update_icons() improvement
Using overlays in lists and a mutable_appearance
This commit is contained in:
@@ -989,8 +989,8 @@ var/list/admin_verbs_event_manager = list(
|
||||
else
|
||||
M.gender = NEUTER
|
||||
|
||||
M.update_hair()
|
||||
M.update_body()
|
||||
M.update_hair(FALSE)
|
||||
M.update_icons_body()
|
||||
M.check_dna(M)
|
||||
|
||||
/client/proc/playernotes()
|
||||
|
||||
@@ -1001,7 +1001,11 @@
|
||||
//strip their stuff and stick it in the crate
|
||||
for(var/obj/item/I in M)
|
||||
M.drop_from_inventory(I, locker)
|
||||
M.update_icons()
|
||||
if(ishuman(M))
|
||||
var/mob/living/carbon/human/H = M
|
||||
H.update_icons_layers() //Cheaper
|
||||
else
|
||||
M.update_icons()
|
||||
|
||||
//so they black out before warping
|
||||
M.Paralyse(5)
|
||||
|
||||
@@ -482,7 +482,7 @@ Traitors and the like can also be revived with the previous role mostly intact.
|
||||
data_core.manifest_inject(new_character)
|
||||
|
||||
//A redraw for good measure
|
||||
new_character.update_icons()
|
||||
new_character.update_icons_all()
|
||||
|
||||
//If we're announcing their arrival
|
||||
if(announce)
|
||||
|
||||
Reference in New Issue
Block a user