[MIRROR] Unit Tests use a consistent human subtype [MDB IGNORE] (#17772)

* Unit Tests use a consistent human subtype

* sr dummy

Co-authored-by: Zephyr <12817816+ZephyrTFA@users.noreply.github.com>
Co-authored-by: tastyfish <crazychris32@gmail.com>
This commit is contained in:
SkyratBot
2022-11-28 13:50:05 -05:00
committed by GitHub
co-authored by Zephyr tastyfish
parent 9f3ebb04cb
commit 2127bb5c61
45 changed files with 126 additions and 102 deletions
+2 -1
View File
@@ -19,7 +19,8 @@
if(ghost_role.outfit_override)
TEST_FAIL("[ghost_role.type] has a defined \"outfit_override\" list, which is only for mapping. Do not set this!")
if(ghost_role.mob_type != /mob/living/carbon/human)
var/human_type = /mob/living/carbon/human // this exists to prevent being caught by checks
if(ghost_role.mob_type != human_type)
//vars that must not be set if the mob type isn't human
var/list/human_only_vars = list(
"mob_species",