hardlounge/client/js/socket-events/commands.js
2020-03-21 22:55:36 +02:00

9 lines
177 B
JavaScript

const constants = require("../constants");
import socket from "../socket";
socket.on("commands", function (commands) {
if (commands) {
constants.commands = commands;
}
});