Skip to content

Commit

Permalink
resolve thing
Browse files Browse the repository at this point in the history
  • Loading branch information
Greenjoe12345 committed Aug 5, 2023
1 parent cdfd407 commit 68f7394
Showing 1 changed file with 1 addition and 6 deletions.
7 changes: 1 addition & 6 deletions code/game/objects/items/weapons/storage/backpack.dm
Original file line number Diff line number Diff line change
Expand Up @@ -35,12 +35,7 @@
exclusive = 1

if(H.species)
if(exclusive)
if(!(H.species.get_bodytype(H) in species_restricted))
wearable = 1
else
if(H.species.get_bodytype(H) in species_restricted)
wearable = 1
wearable = exclusive ^ (H.species.get_bodytype(H) in species_restricted)

if(!wearable && !(slot in list(slot_l_store, slot_r_store, slot_s_store)))
to_chat(H, "<span class='danger'>Your species cannot wear [src].</span>")
Expand Down

0 comments on commit 68f7394

Please sign in to comment.