mirror of
https://forgejo.xatacraft.ru/Sunshine/mkxp-sunshine.git
synced 2026-08-19 13:29:54 +00:00
Making choices filter out \p
This commit is contained in:
parent
1762362044
commit
bca00b4197
1 changed files with 1 additions and 1 deletions
|
|
@ -270,7 +270,7 @@ class Window_Message < Window_Selectable
|
|||
self.active = true
|
||||
self.contents.font.color = normal_color
|
||||
$game_temp.choices.each_with_index do |choice, i|
|
||||
self.contents.draw_text(12, 24 * (@choice_start + i), self.contents.width, 24, choice)
|
||||
self.contents.draw_text(12, 24 * (@choice_start + i), self.contents.width, 24, choice.gsub!("\\p", $game_oneshot.player_name))
|
||||
end
|
||||
elsif @number_start >= 0
|
||||
# Setup numbers
|
||||
|
|
|
|||
Loading…
Reference in a new issue