hardlounge/client/js/socket-events/commands.js

9 lines
181 B
JavaScript
Raw Normal View History

2019-07-02 16:02:02 +00:00
const constants = require("../constants");
const socket = require("../socket");
socket.on("commands", function(commands) {
if (commands) {
constants.commands = commands;
}
});