Skip to content

Commit

Permalink
Bugfix: Unorderable Black Market Crate (#4495)
Browse files Browse the repository at this point in the history
# About the pull request

The '&' in the S&W revolver crate name was breaking the Topic href and
made the button do nothing when clicked.

Ideally the fix would keep the S&W text, but I don't know how to do
this. Sanitizing '&' just returns '& amp ;' so that doesn't achieve
anything.

Fixes #4351

# Explain why it's good for the game

The crate is now orderable.

# Changelog

:cl: Casper
fix: fixed S&W black market crate not working
/:cl:
  • Loading branch information
Crowbar764 authored Sep 27, 2023
1 parent 2bd68d8 commit f915178
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion code/datums/supply_packs/black_market.dm
Original file line number Diff line number Diff line change
Expand Up @@ -448,7 +448,7 @@ Additionally, weapons that are way too good to put in the basically-flavor black
containertype = /obj/structure/largecrate/black_market

/datum/supply_packs/contraband/seized/small
name = "S&W revolver (x6 magazines included)"
name = "Smith and Wesson revolver (x6 magazines included)"
contains = list(
/obj/item/weapon/gun/revolver/small,
/obj/item/ammo_magazine/revolver/small,
Expand Down

0 comments on commit f915178

Please sign in to comment.