mirror of
https://github.com/MarioSpore/Grinch-AP.git
synced 2025-10-21 20:21:32 -06:00
LADX: Filter braces out of player names for hint text (#3831)
* Filter braces out of player names for hint text * Filter out another spot
This commit is contained in:
@@ -18,7 +18,8 @@ class ShopItem(ItemInfo):
|
||||
mw_text = ""
|
||||
if multiworld:
|
||||
mw_text = f" for player {rom.player_names[multiworld - 1].encode('ascii', 'replace').decode()}"
|
||||
|
||||
# filter out { and } since they cause issues with string.format later on
|
||||
mw_text = mw_text.replace("{", "").replace("}", "")
|
||||
|
||||
if self.custom_item_name:
|
||||
name = self.custom_item_name
|
||||
|
||||
Reference in New Issue
Block a user