Karma refactor (#17070)

* Karma refactor

* This too

* Fixes recursion

* Fixes bugs

* Fixes bad usr

* Update code/modules/karma/karma_holder.dm

Co-authored-by: SteelSlayer <42044220+SteelSlayer@users.noreply.github.com>

* Logic tweak

Co-authored-by: SteelSlayer <42044220+SteelSlayer@users.noreply.github.com>
This commit is contained in:
AffectedArc07
2021-11-15 12:52:56 +00:00
committed by GitHub
parent 5e41a1e1d1
commit ab92435be0
20 changed files with 528 additions and 582 deletions
+1 -1
View File
@@ -119,7 +119,7 @@
if("Body")
var/list/race_list = list("Human", "Tajaran", "Skrell", "Unathi", "Diona", "Vulpkanin")
for(var/species in GLOB.whitelisted_species)
if(is_alien_whitelisted(H, species))
if(can_use_species(H, species))
race_list += species
var/datum/ui_module/appearance_changer/AC = ui_users[user]