Skip to content

Commit

Permalink
[MODULAR] Fixes -some- of the loadout related runtimes (#24897)
Browse files Browse the repository at this point in the history
Fixes -some- of the loadout related runtimes
  • Loading branch information
vinylspiders authored and FFMirrorBot committed Nov 14, 2023
1 parent 3517791 commit d07ac00
Showing 1 changed file with 2 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -89,6 +89,8 @@
equipOutfit(equipped_outfit, visuals_only)

for(var/datum/loadout_item/item as anything in loadout_datums)
if(item.restricted_roles && equipping_job && !(equipping_job.title in item.restricted_roles))
continue
item.on_equip_item(preference_source, src, visuals_only)

if(preference_source?.read_preference(/datum/preference/toggle/green_pin))
Expand Down

0 comments on commit d07ac00

Please sign in to comment.