fix back ronin.log

This commit is contained in:
Quentin Leonetti
2019-07-16 22:54:31 +02:00
parent acea1ad26d
commit a5afeb3784
2 changed files with 5 additions and 5 deletions

View File

@@ -47,8 +47,8 @@ function Ronin () {
this.theme.reset()
}
this.log = function (msg) {
console.log(msg)
this.log = function (...msg) {
console.log(...msg)
this.commander.setStatus(msg.reduce((acc, val) => { return acc + val + ' ' }, ''))
}