hopefully a performance improvement to stop genitalia from having to update everytime.

This commit is contained in:
Ghommie
2019-10-03 19:08:11 +02:00
parent 7c77f2d2e3
commit a65b4d0b1c
3 changed files with 9 additions and 5 deletions
+3
View File
@@ -237,3 +237,6 @@ GLOBAL_LIST_INIT(security_wintercoat_allowed, typecacheof(list(
//Internals checker
#define GET_INTERNAL_SLOTS(C) list(C.head, C.wear_mask)
//Slots that won't trigger humans' update_genitals() on equip().
GLOBAL_LIST_INIT(no_genitals_update_slots, list(SLOT_L_STORE, SLOT_R_STORE, SLOT_S_STORE, SLOT_IN_BACKPACK, SLOT_LEGCUFFED, SLOT_HANDCUFFED, SLOT_HANDS, SLOT_GENERC_DEXTROUS_STORAGE))