mirror of
https://github.com/Oreolek/raconteur.git
synced 2024-06-26 03:30:47 +03:00
Fix bug introduced in last commit
This commit is contained in:
parent
103c2cbddf
commit
56e5bfd462
|
@ -186,12 +186,12 @@ RaconteurSituation.prototype.act = function (character, system, action) {
|
|||
},
|
||||
replacer: function (ref) {
|
||||
let content = that.writers[ref].fcall(that, character, system, action);
|
||||
let output = markdown.renderInline(content).fade();
|
||||
let output = markdown.renderInline(content).spanWrap().fade();
|
||||
system.replaceWith(output, `#${ref}`);
|
||||
},
|
||||
inserter: function (ref) {
|
||||
let content = that.writers[ref].fcall(that, character, system, action);
|
||||
let output = markdown.renderInline(content).fade();
|
||||
let output = markdown.renderInline(content).spanWrap().fade();
|
||||
system.writeInto(output, `#${ref}`);
|
||||
}
|
||||
};
|
||||
|
|
Loading…
Reference in a new issue