lib/gamefic/messaging.rb in gamefic-1.6.0 vs lib/gamefic/messaging.rb in gamefic-1.7.0

- old
+ new

@@ -9,10 +9,9 @@ message = "<p>#{message.strip}</p>" # This method uses String#gsub instead of String#gsub! for # compatibility with Opal. message = message.gsub(/[ \t\r]*\n[ \t\r]*\n[ \t\r]*/, '</p><p>') message = message.gsub(/[ \t]*\n[ \t]*/, ' ') - #user.send message p_set_messages messages + message end # Send a message to the Character as raw text. # Unlike #tell, this method will not wrap the message in HTML paragraphs.