client: Fix backwards compatibility

This commit is contained in:
Jonatan Nilsson 2016-04-14 13:28:00 +00:00
parent 2a4a3a3102
commit 9666c5e1f3

View file

@ -18,7 +18,7 @@ function display(data) {
} }
current.push(data.graphic.name) current.push(data.graphic.name)
let engine = data.graphic.engine var engine = data.graphic.engine
if (engines[engine]) { if (engines[engine]) {
engines[engine](data) engines[engine](data)