Skip to content

Commit

Permalink
Fixes vendor name for some dresses (#8183)
Browse files Browse the repository at this point in the history
# About the pull request

fixes a spelling thing
# Explain why it's good for the game

bugfix


# Testing Photographs and Procedure
<details>
<summary>Screenshots & Videos</summary>

Put screenshots and videos here with an empty line between the
screenshots and the `<details>` tags.

</details>


# Changelog
:cl:
fix: USCM Uniform now appears with the correct name on the vendors
code: vendors now strip_improper for names
/:cl:

---------

Co-authored-by: InsaneRed <[email protected]>
  • Loading branch information
Red-byte3D and InsaneRed authored Jan 23, 2025
1 parent 49f7e87 commit b93f606
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion code/game/machinery/vending/vendor_types/dress.dm
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,7 @@
var/can_vend = TRUE
if(uniform_path in vended_items)
can_vend = FALSE
var/name = sanitize(initial(O.name))
var/name = sanitize(strip_improper(initial(O.name)))
var/flags = can_vend ? null : MARINE_CAN_BUY_DRESS
display_list += list(
list(name, 0, uniform_path, flags, VENDOR_ITEM_REGULAR)
Expand Down

0 comments on commit b93f606

Please sign in to comment.