Making choices filter out \p

This commit is contained in:
Michael Shirt 2016-11-18 01:54:10 -07:00
parent 1762362044
commit bca00b4197

View file

@ -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