mirror of
https://github.com/Bubberstation/Bubberstation.git
synced 2026-08-25 22:19:30 +01:00
[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:
co-authored by
Zephyr
tastyfish
parent
9f3ebb04cb
commit
2127bb5c61
@@ -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",
|
||||
|
||||
Reference in New Issue
Block a user