Skip to content

Commit

Permalink
Fixes assistants spawning with fake wizard gear (ParadiseSS13#24631)
Browse files Browse the repository at this point in the history
* yea

* spacing
  • Loading branch information
JimKil3 authored Mar 15, 2024
1 parent e1b8d6f commit aa74050
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion code/modules/clothing/under/color.dm
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,13 @@

/obj/item/clothing/under/color/random/Initialize(mapload)
. = ..()
var/list/excluded = list(/obj/item/clothing/under/color/random, /obj/item/clothing/under/color/blue/dodgeball, /obj/item/clothing/under/color/orange/prison, /obj/item/clothing/under/color/red/dodgeball, /obj/item/clothing/under/color/red/jersey, /obj/item/clothing/under/color/blue/jersey)
var/list/excluded = list(/obj/item/clothing/under/color/random,
/obj/item/clothing/under/color/blue/dodgeball,
/obj/item/clothing/under/color/orange/prison,
/obj/item/clothing/under/color/red/dodgeball,
/obj/item/clothing/under/color/red/jersey,
/obj/item/clothing/under/color/blue/jersey,
/obj/item/clothing/under/color/white/enforcer)
var/obj/item/clothing/under/color/C = pick(subtypesof(/obj/item/clothing/under/color) - excluded)
name = initial(C.name)
icon_state = initial(C.icon_state)
Expand Down

0 comments on commit aa74050

Please sign in to comment.